[DRIVERS-179] Use listCollections command for helper methods Created: 27/Aug/14  Updated: 15/Apr/19  Resolved: 11/Nov/15

Status: Closed
Project: Drivers
Component/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Barrie Segal Assignee: Derick Rethans
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on PHPLIB-45 Collection enumeration methods Closed
depends on CDRIVER-425 Use listCollections command for helpe... Closed
depends on CSHARP-1070 Use listCollections command for helpe... Closed
depends on CXX-345 Use listCollections command for helpe... Closed
depends on NODE-275 Use listCollections command for helpe... Closed
depends on PYTHON-761 When available, use listCollections c... Closed
depends on RUBY-805 When available, use listCollections c... Closed
depends on JAVA-1455 Use listCollections command for helpe... Closed
Related
related to SERVER-2442 Add list[Collections] command Closed
is related to DRIVERS-197 Support cursor in listCollections and... Closed
Driver Compliance:
Key Status/Resolution FixVersion
CXX-345 Done legacy-1.0.0-rc1
PERL-433 Done 0.706.0.0, 1.0.0
JAVA-1455 Done 2.13.0, 3.0.0
CDRIVER-425 Done 1.1.0
PYTHON-761 Done 2.8, 3.0
RUBY-805 Done 1.12, 2.0.0
PHP-1225 Done 1.6.0RC1, 1.6.0
CSHARP-1070 Done 1.10, 2.0
NODE-275 Done 2.0, 1.4.12
PHP-1259 Done 1.6.0RC3, 1.6.0
PHPLIB-45 Done 0.2.0

 Description   

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.



 Comments   
Comment by Andrew Morrow (Inactive) [ 03/Mar/15 ]

Validating for C++11 because validated for C

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