Configuring your connectionsConnection configurations

MongoDB

Connection

Description

Configuration

NAMETYPEDESCRIPTIONREQUIREDREADONLY
hostsstringtruefalse
usernamestringfalsefalse
passwordstringfalsefalse
databasestringfalsefalse
sslbooleanfalsefalse
srvbooleanfalsefalse
paramsstringAdditional connection parameters, formatted as a query stringfalsefalse

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

NAMETYPEDESCRIPTIONREQUIREDREADONLY
querystringfalsefalse
aggregationstringfalsefalse
databasestringDatabasefalsefalse
collectionstringCollectionfalsefalse

Example

1{
2 ...
3 "configuration": {
4 "aggregation": "",
5 "collection": "users",
6 "database": "public",
7 "query": "db.users.find({\"name.family\": \"Smith\"})"
8 }
9}

Target

N/A

Bulk Sync

Source

N/A

Destination

N/A