Create Mapping Rules
On this page
You can create mapping rules to translate your relational tables into MongoDB collections. You can create mapping rules from either the Relational or MongoDB headers of the schema model pane.
Steps
Complete the following steps to create a mapping rule.
Define options for the new mapping rule.
When you define the mapping rule, you can:
Change the collection name.
To change the collection name, click the Name text box and enter the new name. Click outside of the text box to save the change. If the name is already in use, you receive a validation error.
Change field names.
Include or exclude a field from your migration job by clicking the icon next to the field name.
(Optional) Select a BSON type or set null handling rules for your mapping rule.
Click the icon next to the field you want to customize.
Select a BSON type.
Select a Null handling option.
Insert as null: preserves null values, and nulls are inserted into your destination collection.
Omit: skips any null values, and nulls are not inserted into the destination collection.
You can view a field's Original name and Original type in the expanded customized field menu.
Note
For more details on field customization and data type conversions, see field customizations.
Learn More
To learn more about managing mapping rules, see: