-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Component/s: None
-
None
Spec here: https://github.com/mongodb/specifications/blob/master/source/enumerate-collections.rst
The listCollections command must be used for any helper methods that currently query system.namespaces. The command does not obey read preferences if the client is connected to a full replica set, but a driver must be able to run listCollections if it is directly connected to a secondary.
- depends on
-
PHPLIB-45 Collection enumeration methods
- Closed
-
CDRIVER-425 Use listCollections command for helper method
- Closed
-
CSHARP-1070 Use listCollections command for helper method
- Closed
-
CXX-345 Use listCollections command for helper method
- Closed
-
NODE-275 Use listCollections command for helper method
- Closed
-
PYTHON-761 When available, use listCollections command for Database.collection_names and Collection.options
- Closed
-
RUBY-805 When available, use listCollections command for DB.collection_names
- Closed
-
JAVA-1455 Use listCollections command for helper method
- Closed
- is related to
-
DRIVERS-197 Support cursor in listCollections and listIndexes command
- Closed
- related to
-
SERVER-2442 Add list[Collections] command
- Closed