Connection
Select an existing MongoDB connection or create a new one (for more information, see Allowing Integrate.io ETL access to MongoDB.)Destination Properties
- Target collection - The name of the target table in your database. If the table doesn’t exist, it will be created automatically.
- Operation type - The method of data insertion.
- Insert only (Append) - Default behavior. Data will only be appended to the target table.
- Merge with existing data using update and insert - Incoming data is merged with existing data in the table by updating existing data and inserting new data. Requires setting the merge keys correctly in field mapping. In case of multiple document match in destination, it will only update a single document.
- Insert only (Append) - Default behavior. Data will only be appended to the target table.
Schema Mapping
- If merge operation is used, check the Key checkbox on one or more fields to specify the merge key.
- Check the BSON checkbox on fields that are Bag / Map data types. This is so that Integrate.io ETL can ingest them as MongoDB array or object accordingly.