insert_documents
Insert a single JSON document or an array into a MongoDB collection and return the inserted _ids; set ordered=false to continue after failed documents.
Instructions
Insert one document (JSON object) or many (JSON array). Returns the inserted _ids. ordered=false keeps inserting after a failing document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ordered | No | ||
| database | No | ||
| documents | Yes | ||
| collection | Yes | ||
| connection | No |