ORM
ORM (Prisma, Drizzle)
An interpreter that lets you work with your database using familiar code instead of tricky database commands (SQL).
💡 It's an interpreter who orders for you at a restaurant abroad.
🤖 Say this to your AI
Connect my Neon database using Drizzle ORM. Create the schema file and tell me the migration command to use when I change tables.
The key word is ‘ORM (Prisma, Drizzle)’. Including it helps AI understand you much more precisely.
📌 Good to know
Changing your table structure is called a 'migration'. If there's already data in it, always tell the AI to make a backup first.
When to use it
- When you use a database like Neon with Next.js
Also called: prisma, drizzle, sql, query, migration, database code, schema file