Skip to content

フォーマッター&コード

ER図 → SQL

Text DSL → DDL with foreign keys and indexes.

Runs in your browser
ER DSL (table on its own line, columns indented; use 'pk', 'unique', 'not null', '-> table.col') · source
lines: 12chars: 115size: 115 B
SQL DDL · result
lines: 14chars: 304size: 304 B
live

編集者注

Understanding · From boxes-and-lines to CREATE TABLE.

この詳細な解説章は現在、英語版のみで提供されています。上の変換ツールはあなたの言語で動作しますが、長文の解説記事はまだ翻訳されていません。

よくある質問

Quick answers.

What SQL dialects are supported?

The generator produces standard ANSI SQL compatible with PostgreSQL, MySQL, and SQLite. You can adjust specific data types in the text editor before exporting.

How does it handle relationships?

The DSL identifies shared keys to automatically generate `FOREIGN KEY` constraints and appropriate join table structures for many-to-many relationships.

Is my database schema saved anywhere?

No. All parsing and SQL generation occurs locally within your browser session. Your architectural designs are never transmitted to a server.

Can I define indexes in the DSL?

Yes. You can flag specific columns as unique or indexed within the text definition, and the tool will generate the corresponding `CREATE INDEX` statements.

他の人はこちらも検索しています

関連ツール

More in this room.

すべて表示 フォーマッター&コード