drizzle
Usage
npx sv add drizzleDescription
Drizzle ORM is a headless TypeScript ORM with a head. Some short description about what drizzle is and what we set up
Options
database
Which database variant to use:
postgresql— tbdmysql— tbdsqlite— runs everywhere, local database
npx sv add --drizzle=postgresqlclient
The sql client to use, depends on database:
- For
postgresql:postgres.js,neon, - For
mysql:mysql2,planetscale - For
sqlite:better-sqlite3,libsql,turso
npx sv add --drizzle=postgresql,postgres.jsDrizzle is compatible with well over a dozen database drivers. We just offer a few of the most common ones here for simplicity, but if you’d like to use another one you can choose one as a placeholder and swap it out for another after setup by choosing from Drizzle’s full list of compatible drivers.
docker
Whether to add docker compose configuration. Only available for database postgresql or mysql
docker- generatesdocker-compose.ymlno-docker- does not generate docker config
npx sv add --drizzle=postgresql,postgres.js,dockerprevious next