c# - Count items in MongoDB -


how count of items in mongo collection, using 2.x c# driver?

i'm trying use countasync, need pass in filter. don't want filter - want returned.

you can pass empty document in method

db.collection.countasync(new bsondocument()); 

Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -