mongotron
mongotron copied to clipboard
count() is not a function
db.region.find({dmId:{$gt:3}}).count()
error message
Error : db.region.find(...).count is not a function TypeError: db.region.find(...).count is not a function at evalmachine.:1:32 at ContextifyScript.Script.runInNewContext (vm.js:18:15) at
I'd add db.collection.remove to this:
remove is not a function at evalmachine.:1:12 at ContextifyScript.Script.runInNewContext (vm.js:18:15)