We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5cbae0 commit 6b62de7Copy full SHA for 6b62de7
source/crud/bulk-write.md
@@ -518,10 +518,15 @@ and add it as the `_id` field at the beginning of the document.
518
"multi": Optional<Boolean>,
519
"upsert": Optional<Boolean>,
520
"arrayFilters": Optional<Array>,
521
- "hint": Optional<Document | String>
+ "hint": Optional<Document | String>,
522
+ "collation": Optional<Document>
523
}
524
```
525
526
+The `update` command document is used for update and replace operations. For update operations, the `updateMods` field
527
+corresponds to the `update` field in `UpdateOneModel` and `UpdateManyModel`. For replace operations, the `updateMods`
528
+field corresponds to the `replacement` field in `ReplaceOneModel`.
529
+
530
#### Delete
531
532
```javascript
0 commit comments