Actions12
- Search Index Actions
- Document Actions
Document → Bulk Write
AI-generatedSummary
Execute a bulk write of MongoDB operations on a specified collection
Inputs
- collection (required) — MongoDB Collection
- bulkWriteNotice — MongoDB bulk operation shape notice
- ordered (required) — Whether to execute operations in order and stop on first error
Output shape
list of objects representing bulk write results
Each entry contains the MongoDB bulkWrite response and a pairedItem referencing the input item
Examples
Example 1: Perform a bulk write of multiple operations on a collection
collection: myCollection, ordered: false