updateOne
Update a single MongoDB document that matches a filter, with optional upsert to create it when no match exists.
Instructions
Update a single document in a MongoDB collection
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | Yes | Filter to find document | |
| update | Yes | Update operations | |
| upsert | No | Create if not exists | |
| collection | Yes | Collection name |