[CXX-1051] Add new top-level find options and deprecate options::find::modifiers() Created: 27/Sep/16  Updated: 29/Nov/16  Resolved: 21/Oct/16

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

Type: New Feature 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
is depended on by CXX-971 Support providing collation per opera... Closed
is depended on by CXX-1052 Port CRUD methods to use C driver 1.5... Closed
Related
Backwards Compatibility: Minor Change

 Description   

Per proposed changes to the CRUD spec (mongodb/specifications #102), options::find::modifiers() should be deprecated, and new top-level find options should be added to replace it.

The above pull request has not yet been merged, so additional work may have to be scheduled in the 3.1 timeframe to allow for implementation of any last-minute changes to the proposal.



 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-1051 Add test coverage for options::find::hint()
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/103d5516c620c775d3aa6e54e2232cfb802d2bac

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-1051 Deprecate options::find::modifiers()
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/e478ee097037ba4fd22ca6c56ef452dd4f8bd406

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-1051 Add @see notes to some options::find method comments
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/f9bf1bc261ea4689eb3945a55d5e567bbca4588b

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-1051 Add new options to options::find

New options added:

  • max
  • max_scan
  • min
  • return_key
  • show_record_id
  • snapshot

These will replace the "modifiers" option.
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/7de76a14225269a15490166cd375ed2e3146d8e4

Comment by J Rassi [ 18/Nov/16 ]

Marking this ticket as a minor backwards-incompatible change, due to the new deprecations introduced.

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-1051 Add test coverage for options::find::hint()
Branch: 3.1-dev
https://github.com/mongodb/mongo-cxx-driver/commit/103d5516c620c775d3aa6e54e2232cfb802d2bac

Comment by J Rassi [ 21/Oct/16 ]

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

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-1051 Deprecate options::find::modifiers()
Branch: 3.1-dev
https://github.com/mongodb/mongo-cxx-driver/commit/e478ee097037ba4fd22ca6c56ef452dd4f8bd406

Comment by Githook User [ 01/Oct/16 ]

Author:

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

Message: CXX-1051 Add @see notes to some options::find method comments
Branch: 3.1-dev
https://github.com/mongodb/mongo-cxx-driver/commit/f9bf1bc261ea4689eb3945a55d5e567bbca4588b

Comment by Githook User [ 01/Oct/16 ]

Author:

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

Message: CXX-1051 Add new options to options::find

New options added:

  • max
  • max_scan
  • min
  • return_key
  • show_record_id
  • snapshot

These will replace the "modifiers" option.
Branch: 3.1-dev
https://github.com/mongodb/mongo-cxx-driver/commit/7de76a14225269a15490166cd375ed2e3146d8e4

Comment by J Rassi [ 28/Sep/16 ]

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

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