insert-many
Insert multiple documents into a specified MongoDB collection. Define the database and collection, and provide an array of documents matching the syntax for MongoDB's insertMany operation.
Instructions
Insert an array of documents into a MongoDB collection
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collection | Yes | Collection name | |
database | Yes | Database name | |
documents | Yes | The array of documents to insert, matching the syntax of the document argument of db.collection.insertMany() |