Skip to content

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

SQL DDL → Prisma / Drizzle Models

Reverse-engineer ORM models from an existing schema.

Runs in your browser
SQL DDL · source
lines: 14chars: 331size: 331 B
Prisma schema · result
lines: 14chars: 254size: 254 B
live

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

Understanding · CREATE TABLE into Prisma, SQLAlchemy, ActiveRecord.

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

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

Quick answers.

Does this tool support all SQL dialects?

It currently supports PostgreSQL, MySQL, and SQLite syntax for standard DDL scripts. Complex database-specific extensions might require manual adjustment.

Is my database schema sent to a server?

No. The conversion logic is executed entirely in your browser using local parsing scripts. Your schema and table names never leave your device.

Which ORM versions are supported?

The tool generates schema syntax compatible with the latest versions of Prisma and Drizzle ORM using TypeScript types.

What happens to foreign keys and relationships?

The parser identifies `FOREIGN KEY` constraints and map them to their corresponding relation types in Prisma or Drizzle. Ensure your DDL includes these constraints for the most accurate output.

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

أدوات ذات صلة

More in this room.

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