Help Centre › Building Processes
Update a single document in a MongoDB collection.
Add it to a process
In the process designer, open the Add step tab. Find Update a document in a MongoDB collection under Database, or type its name in the search box, and drag it onto the canvas.
Fields
| Field | Required | What it does |
|---|---|---|
| Collection | Yes | Collection name |
| Filter | Yes | Query filter to match document |
| Update | Yes | Update operations |
| Variable | No | Name of the variable where the result will be stored Default: modified_count. |
| Upsert | No | Insert if no match found Default: off. |
What it gives back
{modified_count}– Number of documents modified
See all Database steps.