Skip to content

المنسقات والكود

مساعد ترحيل NoSQL → SQL

MongoDB document shape → relational schema sketch.

Runs in your browser
MongoDB-style document · source
lines: 21chars: 312size: 312 B
Suggested SQL schema · result
lines: 16chars: 295size: 295 B
live

ملاحظة المحرر

Understanding · Documents into rows — the migration nobody wants twice.

هذا الفصل المعمّق متاح حاليًا باللغة الإنجليزية فقط. أداة التحويل أعلاه تعمل بلغتك؛ أما المقال التفصيلي الطويل فلم تتم ترجمته بعد.

الأسئلة المتكررة

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.

يبحث الأشخاص أيضًا عن

أدوات ذات صلة

More in this room.

شاهد الكل في المنسقات والكود