create-collection
Create a new collection in MongoDB, automatically creating the database if it doesn't exist.
Instructions
Creates a new collection in a database. If the database doesn't exist, it will be created automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | Database name | |
| collection | Yes | Collection name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| created | Yes | ||
| database | Yes | ||
| collection | Yes |