Type: New Feature
Priority: Major - P3
Affects Version/s: None
Fix Version/s: None
Last comment by Customer:true
Driver Validation:CSHARP, CXX, Java, Motor, Perl, Python, Ruby, Scala
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:
- find (command only)
- remove (command)
- update (command)
The follow CRUD API methods are thus affected. Supporting a collation option for these methods is required:
Creating an index, dropping an index, and providing an index hint will support collations defined as documents.
Given the definition of a Bulk Write Model as a document in the form:
etc., a collation can be defined for each bulk write model as in the following example:
The driver must not automatically add a collation to any of the Bulk Write Models; the user must explicitly provide the collation to each.