-
Type: New Feature
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: API
-
None
As of server version 3.4 (max wire version 5), a collation option is supported for some commands. Helpers for the following commands therefore must be updated:
- create
- createIndexes
- aggregate
- count
- distinct
- find (command only)
- findAndModify
- geoNear
- group
- mapReduce
- remove (command)
- update (command)
See spec changes in:
- https://github.com/mongodb/specifications/blob/master/source/crud/crud.rst
- https://github.com/mongodb/specifications/blob/master/source/index-management.rst
Note that the driver must not automatically add a collation to any of the Bulk Write Models; the user must explicitly provide the collation to each.
- depends on
-
CDRIVER-1551 Collation: Raise error for command helpers, and support aggregate and createindex
- Closed
-
CDRIVER-1751 mongoc_collection_find_with_opts() should return error if collation specified and connection does not support read commands
- Closed
-
CDRIVER-1779 mongoc_collection_find_and_modify_with_opts() should return error if collation specified and connection max wire version < 5
- Closed
-
CXX-1044 collection::find() ignores find options "allow_partial_results" and "no_cursor_timeout"
- Closed
-
CXX-1045 collection::count() serializes options::count::hint incorrectly
- Closed
-
CDRIVER-1372 Support providing collation per operation
- Closed
-
CDRIVER-1527 Add mongoc_client_[read|write|read_write]_command_with_opts
- Closed
-
CXX-1051 Add new top-level find options and deprecate options::find::modifiers()
- Closed
-
CXX-1052 Port CRUD methods to use C driver 1.5 CRUD API
- Closed
-
CXX-1092 Rename mongocxx::mock namespace to mongocxx::test_util
- Closed
- is depended on by
-
DRIVERS-291 Support providing collation per operation
- Closed
- is related to
-
CXX-1093 collection::distinct() should return error to user if collation specified and connection max wire version < 5
- Closed
-
CXX-1039 Update link to final collation page in 3.4 manual
- Closed