MongoDB → PostgreSQL
Scalar types
Container types
Mixed types
If a field has multiple types across documents (e.g., 99%Int, 1% Double), DBDock picks the “widest” compatible Postgres type. You’ll see a warning:
Example
MongoDB:--max-depth 2):
PostgreSQL → MongoDB
Scalar types
Container types
Relationships
DBDock can optionally embed one-to-many relationships into parent documents:- Reference mode (default): stores the FK as-is, creates separate collections.
- Embed mode: pulls child rows into a nested array on the parent document.

