Skip to content

Форматтеры и код

Конвертер схем SQL → NoSQL

Turn a CREATE TABLE into a JSON document shape.

Runs in your browser

Примечание редактора

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

Эта углублённая глава пока доступна только на английском языке. Инструмент конвертации выше работает на вашем языке; развёрнутая статья ещё не переведена.

Часто задаваемые вопросы

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.

Люди также ищут

Связанные инструменты

More in this room.

Смотреть все в Форматтеры и код