Formateurs & Code
Assistant de migration NoSQL → SQL
MongoDB document shape → relational schema sketch.
Note de la rédaction
Understanding · Documents into rows — the migration nobody wants twice.
Ce chapitre approfondi n'est actuellement disponible qu'en anglais. L'outil de conversion ci-dessus fonctionne dans votre langue ; le long article explicatif n'a pas encore été traduit.
Questions fréquentes
Quick answers.
›How does it determine SQL data types?
The tool inspects the values in your JSON document. Strings are mapped to `VARCHAR`, integers to `INT` or `BIGINT`, and floating point numbers to `DECIMAL` or `FLOAT`.
›What happens to nested objects and arrays?
Nested objects are typically flattened or suggested as separate tables with foreign keys. For modern SQL dialects like PostgreSQL, you can also choose to treat them as `JSONB` columns.
›Does it support complex BSON types?
Yes, common BSON types like `ObjectId`, `ISODate`, and `NumberDecimal` are recognised and converted to their relational equivalents like `UUID`, `TIMESTAMP`, and `NUMERIC`.
›Is my data sent to a server for processing?
No. All mapping and schema generation happens locally within your browser session. Your document structure and data never leave your device.
Les internautes recherchent aussi
Outils similaires
More in this room.
- Diagramme ER → SQLDSL texte → DDL avec clés étrangères et index.
- Explicateur de requêtes SQLFormatez n'importe quel SQL et expliquez ce que fait chaque clause.
- Recommandation d'index SQLRepérez les index manquants à partir des clauses WHERE / JOIN / ORDER.
- PostgreSQL → MySQL ConvertisseurTraduisez le DDL Postgres en SQL compatible MySQL.
- Convertisseur JSON en XMLConvertit JSON en XML propre et bien formé.
- Formateur et validateur JSONEmbellissez, minifiez et validez le JSON — gratuit, sans inscription.