diff --git a/source/crud/bulk-write.md b/source/crud/bulk-write.md index 5c554e0182..5918e6417c 100644 --- a/source/crud/bulk-write.md +++ b/source/crud/bulk-write.md @@ -518,10 +518,15 @@ If the document to be inserted does not contain an `_id` field, drivers MUST gen "multi": Optional, "upsert": Optional, "arrayFilters": Optional, - "hint": Optional + "hint": Optional, + "collation": Optional } ``` +The `update` command document is used for update and replace operations. For update operations, the `updateMods` field +corresponds to the `update` field in `UpdateOneModel` and `UpdateManyModel`. For replace operations, the `updateMods` +field corresponds to the `replacement` field in `ReplaceOneModel`. + #### Delete ```javascript @@ -866,6 +871,8 @@ batch-splitting to standardize implementations across drivers and simplify batch ## **Changelog** +- 2024-09-25: Add `collation` field to `update` document and clarify usage of `updateMods`. + - 2024-09-25: Update the `partialResult` population logic to account for ordered bulk writes. - 2024-09-18: Relax numeric type requirements for indexes.