🍃 MongoDB
Query and manipulate MongoDB databases with document operations.
Overview
Query and manipulate MongoDB databases using document operations. Find, insert, update, and delete documents in your collections directly from workflows.
Configuration
- Credential — select a MongoDB credential (connection string)
- Operation — find, insertOne, updateOne, or deleteOne
- Collection — the MongoDB collection to operate on
- Query/Document — JSON query filter or document to insert/update
- Output Variable — name for storing results
Operation Examples
- find —
{"email": "{{$json.email}}"} - insertOne —
{"name": "{{$json.name}}", "email": "{{$json.email}}"} - updateOne — filter + update document with
$setoperators - deleteOne — filter document to match and remove