Drizzle ORM with SvelteKit
Define a Drizzle schema, run migrations, and query from SvelteKit load functions.
Drizzle
Drizzle is a lightweight TypeScript ORM with great type inference and SQL-like syntax.
Install
Install Drizzle and your DB driver.
npm install drizzle-orm postgres
npm install -D drizzle-kitAll lessons in this course
- Auth + Database + API: Architecture
- Drizzle ORM with SvelteKit
- Deploying to Vercel with a Database
- End-to-End Type Safety with tRPC