[CXX-687] collection::create_index does not support any options Created: 30/Sep/15  Updated: 11/Jan/16  Resolved: 30/Nov/15

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

Type: Bug Priority: Critical - P2
Reporter: Ofer Reichman Assignee: Matt Cotter
Resolution: Done Votes: 1
Labels: index, unique
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Epic Link: C++11 Driver MongoDB 3.2

 Description   

The collection::create_index method's 2nd parameter, "options", is not used at all.

For example, one cannot create a unique index (options: unique=true).



 Comments   
Comment by Githook User [ 30/Nov/15 ]

Author:

{u'username': u'Machyne', u'name': u'Matt Cotter', u'email': u'matt@mattwc.com'}

Message: CXX-687: add option class for index creation
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/a468a81c2894225b6ef839a6ebeaaa9bf00b6468

Comment by Matt Cotter [ 14/Oct/15 ]

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

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