Skip to content
This repository was archived by the owner on Jul 7, 2022. It is now read-only.

Commit f2f603b

Browse files
committed
add comment for how to use
1 parent dafa650 commit f2f603b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

collectionSizes.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
/**
22
* loop on all collections and output their counts and size in bytes.
33
*
4-
* Prints in a tabular format
4+
* Prints in a tabular format.
5+
*
6+
* Call as:
7+
* $ mongo <databasename> collectionSizes.js
58
*/
69

710
var i, size, count,

0 commit comments

Comments
 (0)