robbiblubber.org

help | login | search:  
>>

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


db.stats()


MongoDB Driver Function Reference


Retrieves storage statistics for a database.



db.stats([<scale>])



Arguments


<scale> Scale in bytes.



Return Value


Returns a result set (cursor).



Example


db.stats();


Gets the storage statistics for the current database.








home | MongoDB Driver Function Reference | MongoDB Driver