MongoDB Ex icon

MongoDB Ex

MongoDB Extended - Advanced MongoDB operations, including support for filters, bulk operations, full update JSON support and more.

Document → Bulk Write

AI-generated

Summary

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

Discussion