[CDRIVER-725] mongoc_collection_create_index should return index document Created: 26/Jun/15 Updated: 12/Sep/16 Resolved: 16/Jun/16 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | libmongoc |
| Affects Version/s: | None |
| Fix Version/s: | 1.5.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Marius Soutier | Assignee: | Ian Boros |
| Resolution: | Done | Votes: | 0 |
| Labels: | intern2016 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
The legacy driver would return the inserted index as a bson document. mongoc_collection_create_index should exhibit the same behavior. This will require an enhanced new function, mongoc_collection_create_index_2 or something, that returns additional info. History: we created mongoc_collection_create_index_2, renamed to mongoc_collection_create_index_with_write_concern, and now we're renaming it mongoc_collection_create_index_with_opts. All of this is for 1.5.0. |
| Comments |
| Comment by Githook User [ 15/Jun/16 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@emptysquare.net'}Message: Merge pull request #334 from puppyofkosh/
|
| Comment by Githook User [ 15/Jun/16 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@emptysquare.net'}Message: Merge pull request #334 from puppyofkosh/
|
| Comment by Githook User [ 15/Jun/16 ] |
|
Author: {u'name': u'ian boros', u'email': u'ian.boros@10gen.com'}Message: |
| Comment by A. Jesse Jiryu Davis [ 10/Jun/16 ] |
|
Correct. |
| Comment by Ian Boros [ 10/Jun/16 ] |
|
Just to be sure, this *reply out argument should return the server's full response in bson? |