robbiblubber.org

help | login | search:  
<<

Home Page
Index

Projects

Utility Suite
Data Suite
Bad Wolf Suite
WeakWiki

User Docs

ConfigNotepad
LED
rqoon
Nuub

Code Docs

.NET
Java
PHP

robbiblubber.org

Specs
Articles

Sources















show wiki  show source  compare to current  compare to previous  read  history 


count()


MongoDB Driver Function Reference


Counts the records in the input result set.



<cursor>.count()



Arguments


<cursor> A result set.



Returns


Returns a result set (cursor).



Example


db.employees.find().count();


Returns the number of documents in the employee collection.











home | MongoDB Driver Function Reference | MongoDB Driver