[DOCS-11593] Docs for SERVER-34244: listCollections should support a nameOnly option Created: 13/Apr/18  Updated: 29/Oct/23  Due: 04/May/18  Resolved: 04/Jun/18

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: 3.7.4

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: docs-grab-0504
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-34244 listCollections should support a name... Closed
Related
related to DOCS-11642 Docs for SERVER-34243: listCollection... Closed
related to DOCS-11718 Docs for SERVER-32942: mongo shell: f... Closed
Participants:
Days since reply: 5 years, 36 weeks, 2 days ago
Epic Link: DOCS: 4.0 Server

 Description   

Documentation Request Summary:

No documentation summary in engineering ticket

Scope of changes:

  • listCollections cmd
  • db.getCollectionInfos()
  • db.getCollectionNames() – just blurb that no locks
  • check /reference/program/mongoreplay example that includes listcollection
  • relnotes

Impact to other docs outside of this product:

None

MVP:

Resources:

Engineering Ticket Description:

Currently the listCollections command needs to lock all collections to return their information. However, often only names are necessary. So, improve the listCollections command to support a nameOnly option like listDatabases and only require a MODE_IS lock on the database for that command.



 Comments   
Comment by Githook User [ 04/Jun/18 ]

Author:

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

Message: DOCS-11593: listCollections namesOnly flag
Branch: master
https://github.com/mongodb/docs/commit/2f007230d3ddec60667b8e073b0226d541952df4

Generated at Thu Feb 08 08:03:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.