[CXX-1052] Port CRUD methods to use C driver 1.5 CRUD API Created: 27/Sep/16  Updated: 27/Jan/17  Resolved: 21/Oct/16

Status: Closed
Project: C++ Driver
Component/s: Implementation
Affects Version/s: None
Fix Version/s: 3.1.0

Type: Task Priority: Major - P3
Reporter: J Rassi Assignee: J Rassi
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CXX-1093 collection::distinct() should return ... Closed
depends on CXX-1051 Add new top-level find options and de... Closed
depends on CDRIVER-1573 Replace bulk_operation_update_with_op... Closed
is depended on by CXX-971 Support providing collation per opera... Closed
Related
is related to CXX-1195 Support deprecated "modifiers" FindOp... Closed

 Description   

The existing CRUD methods should be ported to use the C driver 1.5 CRUD API (for example, collection::find() should be ported to use mongoc_collection_find_with_opts() instead of mongoc_collection_find()).



 Comments   
Comment by Githook User [ 29/Nov/16 ]

Author:

{u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}

Message: CXX-1052 Raise libmongoc minimum to 1.5.0-rc3

Includes a transition to the new
mongoc_bulk_operation_*_many_with_opts API. As of libmongoc
1.5.0-rc3, the introductions of the bulk_operation_update_with_opts()
/ bulk_operation_remove_with_opts() methods have been withdrawn, and
are now superseded by bulk_operation_update_many_with_opts() /
bulk_operation_remove_many_with_opts().
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/133cc666d08393eeec14d77d7afc5dda12e1f697

Comment by Githook User [ 29/Nov/16 ]

Author:

{u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}

Message: CXX-1052 Pull find::convert_all_modifiers() into new class in private/
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/d15c111f32e3d24d36525a3cd8dcdb38d743d3e4

Comment by Githook User [ 29/Nov/16 ]

Author:

{u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}

Message: CXX-1052 Port bulk implementation to use bulk_operation_*_with_opts()
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/9f169edfd7d8d86ab5ba436e1da2798c69d5159c

Comment by Githook User [ 29/Nov/16 ]

Author:

{u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}

Message: CXX-1052 Port collection::find() to use collection_find_with_opts()
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/7349684fc9c274421b17bbc5ebfe82b027b49f1b

Comment by Githook User [ 29/Nov/16 ]

Author:

{u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}

Message: CXX-1052 Add options::find public internal method to convert modifiers
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/02be4fd34baf53772120fd9a0c7d819fb7587065

Comment by Githook User [ 21/Oct/16 ]

Author:

{u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}

Message: CXX-1052 Raise libmongoc minimum to 1.5.0-rc3

Includes a transition to the new
mongoc_bulk_operation_*_many_with_opts API. As of libmongoc
1.5.0-rc3, the introductions of the bulk_operation_update_with_opts()
/ bulk_operation_remove_with_opts() methods have been withdrawn, and
are now superseded by bulk_operation_update_many_with_opts() /
bulk_operation_remove_many_with_opts().
Branch: 3.1-dev
https://github.com/mongodb/mongo-cxx-driver/commit/133cc666d08393eeec14d77d7afc5dda12e1f697

Comment by Githook User [ 13/Oct/16 ]

Author:

{u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}

Message: CXX-1052 Pull find::convert_all_modifiers() into new class in private/
Branch: 3.1-dev
https://github.com/mongodb/mongo-cxx-driver/commit/d15c111f32e3d24d36525a3cd8dcdb38d743d3e4

Comment by J Rassi [ 13/Oct/16 ]

Marked this ticket as "waiting on dependency" for C driver 1.5.0-rc3 to ship. See comments in pull request #561 above.

Comment by J Rassi [ 13/Oct/16 ]

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

Comment by J Rassi [ 13/Oct/16 ]

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

Comment by Githook User [ 13/Oct/16 ]

Author:

{u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}

Message: CXX-1052 Port bulk implementation to use bulk_operation_*_with_opts()
Branch: 3.1-dev
https://github.com/mongodb/mongo-cxx-driver/commit/9f169edfd7d8d86ab5ba436e1da2798c69d5159c

Comment by Githook User [ 13/Oct/16 ]

Author:

{u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}

Message: CXX-1052 Port collection::find() to use collection_find_with_opts()
Branch: 3.1-dev
https://github.com/mongodb/mongo-cxx-driver/commit/7349684fc9c274421b17bbc5ebfe82b027b49f1b

Comment by Githook User [ 13/Oct/16 ]

Author:

{u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}

Message: CXX-1052 Add options::find public internal method to convert modifiers
Branch: 3.1-dev
https://github.com/mongodb/mongo-cxx-driver/commit/02be4fd34baf53772120fd9a0c7d819fb7587065

Comment by J Rassi [ 30/Sep/16 ]

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

Comment by J Rassi [ 30/Sep/16 ]

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

Comment by J Rassi [ 28/Sep/16 ]

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

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