[CXX-346] Add listIndexes command Created: 18/Sep/14  Updated: 23/Oct/14  Resolved: 07/Oct/14

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: legacy-1.0.0-rc1

Type: Task Priority: Major - P3
Reporter: Barrie Segal Assignee: Adam Midvidy
Resolution: Done Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-174 Add listIndexes command Closed

 Comments   
Comment by Adam Midvidy [ 07/Oct/14 ]

we already obey the read preference spec since listIndexes would need to be explicitly added to the _secOkCmdList for it not to be immediately routed to the primary (regardless of read preference).

Comment by Githook User [ 03/Oct/14 ]

Author:

{u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}

Message: minor: CXX-346 fix style in getIndexNames definition
Branch: legacy
https://github.com/mongodb/mongo-cxx-driver/commit/5a41685f37ad4c474fc75c9f271e82e37f843b29

Comment by Githook User [ 03/Oct/14 ]

Author:

{u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}

Message: CXX-346 add getIndexNames helper
Branch: legacy
https://github.com/mongodb/mongo-cxx-driver/commit/c85bf417cf692258dff672e9f5f69567ab69cd13

Comment by Adam Midvidy [ 30/Sep/14 ]

here is a PR for a getIndexNames helper. https://github.com/mongodb/mongo-cxx-driver/pull/170

Let me know what you think about the renaming (or providing an alias of) getIndexSpecs to getIndexInfo to be consistent w/ the other drivers.

Comment by Andrew Morrow (Inactive) [ 18/Sep/14 ]

It should, but lets wait for the spec to be approved and verify.

Generated at Wed Feb 07 21:58:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.