[CXX-791] bulk_write constructor should take an enum not a boolean Created: 29/Dec/15  Updated: 11/Jan/16  Resolved: 04/Jan/16

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

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

Epic Link: C++11 Driver MongoDB 3.2

 Description   

Currently it takes a boolean, which makes the code hard to read, since you need to remember whether

bulk_write{false}

means ordered or unordered.



 Comments   
Comment by Githook User [ 04/Jan/16 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: CXX-791 Options for bulk ops should be on the options::bulk_op type
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/85ad0a19d03fddbd28abe6e50d5f724250be738b

Comment by Andrew Morrow (Inactive) [ 29/Dec/15 ]

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

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