Connection
Configuration
NAME | TYPE | DESCRIPTION | REQUIRED | READONLY |
---|---|---|---|---|
hosts | string | true | false | |
username | string | false | false | |
password | string | false | false | |
database | string | false | false | |
ssl | boolean | false | false | |
srv | boolean | false | false | |
params | string | Additional connection parameters, formatted as a query string | false | false |
Example
1 { 2 "name": "mongodb connection", 3 "type": "mongodb", 4 "configuration": { 5 "database": "", 6 "hosts": "mongodb.example.net", 7 "params": "", 8 "password": "password", 9 "srv": false, 10 "ssl": false, 11 "username": "admin" 12 } 13 }
Model Sync
Source
Configuration
NAME | TYPE | DESCRIPTION | REQUIRED | READONLY |
---|---|---|---|---|
query | string | false | false | |
aggregation | string | false | false | |
database | string | Database | true | false |
collection | string | Collection | true | false |
Example
1 { 2 ... 3 "configuration": { 4 "aggregation": "", 5 "collection": "users", 6 "database": "public", 7 "query": "db.users.find({\"name.family\": \"Smith\"})" 8 } 9 }