admin管理员组

文章数量:1344645

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")

本文标签: mongodbWhat is causing type error for explain() methodStack Overflow