Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
manual
*Location*: http://docs.mongodb.org/manual/reference/command/listCollections/
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.132 Safari/537.36
*Referrer*: http://docs.mongodb.org/manual/reference/command/dropDatabase/
*Screen Resolution*: 1920 x 1200
*repo*: docs
*source*: reference/command/listCollections
manual *Location*: http://docs.mongodb.org/manual/reference/command/listCollections/ *User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.132 Safari/537.36 *Referrer*: http://docs.mongodb.org/manual/reference/command/dropDatabase/ *Screen Resolution*: 1920 x 1200 *repo*: docs *source*: reference/command/listCollections
Description
The options correspond directly to the options available in db.createCollection(), with the exception of the "options.flags". The "options.flags" corresponds to the usePowerOf2Sizes and the noPadding options in the db.createCollection() method:
"options.flags" value of 0 corresponds to usePowerOf2Sizes value of false and noPadding value of false.
"options.flags" value of 1 corresponds to usePowerOf2Sizes value of true.
"options.flags" value of 2 corresponds to noPadding value of true.
Should there be value of 3 too? Value of 3 corresponds to noPadding value of true AND usePowerOf2Sizes value of true