最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

mongodb - What is causing type error for .explain() method - Stack Overflow

programmeradmin0浏览0评论

I'm new to Mongodb. I'm writing a query in the Mongosh shell and it returns an error. I'm just trying to get the run time of a query. Not sure what in the syntax is incorrect. Please see image.

db.medical.find({medical_conditions: {$ne: "None"}}).count().explain("executionStats")

发布评论

评论列表(0)

  1. 暂无评论