insert
Insert one or more documents into a MongoDB collection, with support for ordered inserts, write concern, and bypassing schema validation.
Instructions
Insert one or more documents into a MongoDB collection
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ordered | No | If true, perform ordered insert. If false, insert unordered | |
| documents | Yes | Array of documents to insert | |
| collection | Yes | Name of the collection to insert into | |
| objectIdMode | No | Control how 24-character hex strings are handled | auto |
| writeConcern | No | Write concern for the insert operation | |
| bypassDocumentValidation | No | Allow insert to bypass schema validation |