From MongoDB/DDS¶
When you migrate MongoDB or DDS data, CDM reads the first row of the collection as an example of the field list. If the first row of data does not contain all fields of the collection, you need to manually add fields.
When the source link of a job is the Link to MongoDB, that is, when data is exported from an on-premises MongoDB or DDS, configure the source job parameters based on Table 1.
Parameter | Description | Example Value |
---|---|---|
Database Name | Name of the database from which data will be migrated | mongodb |
Collection Name | Collection name, similar to the table name of a relational database. Click the icon next to the text box to go to the page for selecting the collection or directly enter a collection name. If the desired table is not displayed, check whether the table exists or whether the login account has the permission to query metadata. | COLLECTION |
Filter Condition | Conditions for filtering documents. CDM migrates only the data that meets the filter conditions. The examples are as follows:
| {'last_name': 'Smith'} |