Thanks for your feedback!
EDIT
Connector type | Minimum requirements | Required fields | Performance |
---|---|---|---|
MongoDB Driver version: 7 |
Example with AWS instance:
|
mongo.uri: mongodb://root:password@172.18.0.2:27017 |
|
Create
{ "operation": "INSERT", "collectionName": "myCollection", "databaseName": "myDatabase", "values": { "name": "$body.name", "country": "$body.country", "zip": "$headerParam.zip", "age": $body.age } }
Read
{ "operation": "findOneByQuery", "collectionName": "myCollection", "databaseName": "myDatabase", "values": { "$body.key": "$body.value" } }
{ "operation": "findAll", "collectionName": "myCollection", "databaseName": "myDatabase" }
Delete
{ "operation": "REMOVE", "databaseName": "connector-test", "collectionName": "connector", "values": { "$body.key": "$body.value" }
Update
{ "operation": "UPDATE", "collectionName": "connector", "databaseName": "connector-test", "values": { "$set": { "$body.field": "$body.value" } }, "headers": [ { "filter": "{\"$queryParam.param\": \"$queryParam.value\"}" } ] }
See in the gif below an example of instruction for the MongoDB connector with the operation create (insert):
Share your suggestions with us!
Click here and then [+ Submit idea]