[CDRIVER-192] alllow optional index name - index name should follow convention (API change) Created: 16/Jan/13  Updated: 19/Oct/16  Resolved: 18/Jan/13

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 0.8.1

Type: Bug Priority: Major - P3
Reporter: Gary Murakami Assignee: Gary Murakami
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The current implementation creates a name option that does not follow the convention. The auto generated name for an index should follow the convention FIELD0_DIRECTION0_FIELD1_DIRECTION1_... where FIELD0, FIELD1, etc. are field names and DIRECTION0, DIRECTION1, etc. are corresponding directions, either 1 or -1.

If you don't specify the name option, the driver should create the name from the key following the convention.



 Comments   
Comment by auto [ 18/Jan/13 ]

Author:

{u'date': u'2013-01-18T20:48:25Z', u'email': u'gary.murakami@10gen.com', u'name': u'Gary J. Murakami'}

Message: CDRIVER-192 alllow optional index name - index name should follow convention (API change)
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/a3e00d82a894196e96d0326527cbe2c82520cbef

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