Skip to content

Công cụ định dạng & Mã

Chuyển đổi lược đồ SQL → NoSQL

Turn a CREATE TABLE into a JSON document shape.

Runs in your browser

Ghi chú của biên tập viên

Understanding · Normalise or embed — the design decision that follows the queries.

Chương phân tích chuyên sâu này hiện chỉ có sẵn bằng tiếng Anh. Công cụ chuyển đổi ở trên hoạt động bằng ngôn ngữ của bạn; bài viết giải thích dài chưa được dịch.

Các câu hỏi thường gặp

Quick answers.

How are SQL data types mapped?

Common types like `VARCHAR` and `TEXT` map to strings, `INT` and `DECIMAL` to numbers, and `BOOLEAN` to true/false values. More complex types like `TIMESTAMP` are generally formatted as ISO-8601 strings.

Does this tool support all SQL dialects?

It supports standard ANSI SQL `CREATE TABLE` statements. While specific dialect features like PostgreSQL enums or MySQL spatial types might be simplified, the core structure remains accurate for most document databases.

Can it handle table relationships?

SQL foreign keys are converted into flat fields by default. Since NoSQL often prefers embedding over linking, you can use the output as a base to manually nest related objects into a single document.

Is my schema private?

Yes. The parsing logic is executed locally using JavaScript. Your database structure is never transmitted to our servers or logged in any database.

Mọi người cũng tìm kiếm

Công cụ liên quan

More in this room.

Xem tất cả trong Công cụ định dạng & Mã