I\'m using Mongo 2.2. How can I access the query info using C#?
Currently have the following to get my data:
var records = _collect
There is .Explain() method of MongoCursor class resulting from FindAs() method of MongoCollection class. I found an answer from this link.
var qLinq = Query<T>.Where(x => x.name=="jim"); var exp = Collection.FindAs<T>(qLinq).Explain()