[CXX-743] Documentation for database::list_collections doesn't match declaration Created: 24/Nov/15  Updated: 11/Jan/16  Resolved: 09/Dec/15

Status: Closed
Project: C++ Driver
Component/s: API
Affects Version/s: 0.2.0
Fix Version/s: 3.0.0-rc0

Type: Bug Priority: Minor - P4
Reporter: Scott Deerwester Assignee: Tess Avitabile (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: C++11 Driver MongoDB 3.2

 Description   

The documentation for database::list_collections does not include any parameters. The declaration requires a bsoncxx::document::view.



 Comments   
Comment by Githook User [ 09/Dec/15 ]

Author:

{u'username': u'tessavitabile', u'name': u'Tess Avitabile', u'email': u'tess.avitabile@mongodb.com'}

Message: CXX-743 - Create default filter for database::list_collections
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/c97277aa8bcc8c7cb2fddbd0618ddf4666069a92

Comment by Tess Avitabile (Inactive) [ 09/Dec/15 ]

https://github.com/mongodb/mongo-cxx-driver/pull/393

Comment by Tess Avitabile (Inactive) [ 09/Dec/15 ]

list_databases and list_indexes do not have filters at all.

Comment by Scott Deerwester [ 24/Nov/15 ]

The inline documentation says that the parameter is "An optional query expression to filter the returned collections." The declaration does not make the parameter optional, however (i.e. there is no default value for the parameter).

Generated at Wed Feb 07 22:00:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.