[DOCS-5864] Comment on: "manual/reference/command/listCollections.txt" Created: 17/Jul/15  Updated: 03/Nov/17  Resolved: 17/Jul/15

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Major - P3
Reporter: Jussi Jääskeläinen Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

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


Participants:
Days since reply: 8 years, 30 weeks, 5 days ago

 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



 Comments   
Comment by Kay Kim (Inactive) [ 17/Jul/15 ]

Thanks! We had forgotten to use the include file that had the updated flag definitions. Will publish later today.

Comment by Githook User [ 17/Jul/15 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-5864 update listCollections options.flags
Branch: master
https://github.com/mongodb/docs/commit/1f820a9038edf5c96b4e558899133019cda025cc

Generated at Thu Feb 08 07:51:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.