我使用的是MongoDB.Driver 2.0.0.有没有办法看到从linq到MongoDB生成的脚本?
例如,我的查询是:
IFindFluent<ProductMapping, ProductMapping> findFluent = Collection.Find(
x => hashValues.Contains(x.UrlHash) && x.ProductTopic == topicId);
Run Code Online (Sandbox Code Playgroud)
如何(或更复杂的查询)在MongoDB shell中表示?