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















read  source  history 


= stats() =
----
[[MongoDB Driver Function Reference]]


Retrieves storage statistics for a database.
More information can be found in the corresponding entry of the [[https://docs.mongodb.com/manual/reference/method/db.collection.stats/index.html|MongoDB Manual]].


[[[@cG

<collection>.stats([<scale>])

]]]


**Arguments**

[[[@w

|@t0@r0@c0 <collection> | | The target collection. |
| <scale> | | Scale in bytes. |

]]]


**Return Value**

[[[@w

Returns a result set (cursor).

]]]


**Example**

[[[@cw

db.employees.stats();

]]]

Gets the storage statistics for the //employees// collection.





----
[[Main|home]] | [[MongoDB Driver Function Reference]] | [[MongoDB Driver]]