MongoDB.Driver.Core.Extensions.DiagnosticSources
MongoDB.Driver.Core.Extensions.DiagnosticSources copied to clipboard
db.statement displays getMore command rather than actual query
I've got a mongo query that returns results using a cursor. Mongo then uses the getMore command to pull back pages of results.
When using this library, with CaptureCommandText
set to true, the db.statement
tag gets set to the getMore command and not the initial mongo command that was called.
I'd love a PR for this, I haven't used cursors
I've started on one but I had some troubles with it. I should have some more time later this week to look at it some more.