Formateurs & Code
SQL DDL → Modèles Prisma / Drizzle
Reverse-engineer ORM models from an existing schema.
Note de la rédaction
Understanding · CREATE TABLE into Prisma, SQLAlchemy, ActiveRecord.
Ce chapitre approfondi n'est actuellement disponible qu'en anglais. L'outil de conversion ci-dessus fonctionne dans votre langue ; le long article explicatif n'a pas encore été traduit.
Questions fréquentes
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.
Les internautes recherchent aussi
Outils similaires
More in this room.
- Validateur OpenAPI / SwaggerValidez les spécifications OpenAPI 3 par rapport aux règles de spécification.
- OpenAPI 3.1 YAML ⇄ JSONConvertissez les spécifications OpenAPI entre YAML et JSON.
- OpenAPI → Client Axios TypeScriptGénérez un client Axios typé à partir de n'importe quelle spécification OpenAPI.
- OpenAPI → Hooks React QueryHooks useQuery + useMutation auto-générés par endpoint.
- OpenAPI → Collection PostmanCollection Postman v2.1 à partir de n'importe quelle spécification OpenAPI.
- GraphQL SDL ⇄ Types TypeScriptParcourez un schéma, émettez des interfaces typées — et vice-versa.