[CXX-631] collection::create_index should return server response Created: 08/Jul/15  Updated: 11/Jan/16  Resolved: 10/Dec/15

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

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Tess Avitabile (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CDRIVER-725 mongoc_collection_create_index should... Closed
Epic Link: C++11 Driver MongoDB 3.2

 Description   

See TODO in collection.cpp



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

Thanks, Matt

Comment by Githook User [ 10/Dec/15 ]

Author:

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

Message: CXX-631 - collection::create_index returns the index name
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/096bf03f31347c5070658c4beac1bd4a35af473f

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

Ping matt.cotter

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

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

Comment by Matt Cotter [ 20/Nov/15 ]

Actually, the only return should be the index name. If the user specifies a name, return that, otherwise call libmongoc::collection_keys_to_index_string.

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