New Documents
On this page
The New Documents mapping rule is the most basic mapping rule option. It creates a document for each row of data in your relational database.
About this Task
Any database table can use a New Documents mapping rule.
Behavior
Use this mapping rule when you want data from a table to be stored in a dedicated collection.
You can have multiple New Documents mapping rules from different tables into the same collection. Relational Migrator treats these tables as isolated data and the destination documents are not merged together in any way.
Example
This section demonstrates the relational input and the MongoDB output of the New Documents mapping rule.
New Documents
In this example a New Documents mapping rule is applied to a single row
from the Customer
table.
Click the tabs below to see the input and output for this example: