Creating a View with Turso/Sqlite
When I use
drizzle-kit generate:sqlite --config ./drizzle/drizzle.config.ts
this doesn't get picked up / no sql gets generated. This is my first time creating a view for sqlite/turso. I feel like I'm doing something obviously wrong but I've been starring at this for an hour. :/ Thanks in advance!1 Reply
Hey, the docs say:
Views are currently only implemented in the drizzle-orm, drizzle-kit does not support views yet. You can query the views that already exist in the database, but they won’t be added to drizzle-kit migrations or db push as of now.https://orm.drizzle.team/docs/views
Drizzle ORM - Views
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.