Can I use drizzle + mysql2 driver + middleware.ts (next.js)?
Is this combo possible? Is it edge compatible?
3 Replies
You can use that driver: https://orm.drizzle.team/docs/quick-mysql/planetscale
and edge is possible too: https://orm.drizzle.team/docs/perf-serverless
Drizzle ORM - next gen TypeScript ORM
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
Drizzle ORM - next gen TypeScript ORM
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
@energistic So mysql2 is not compatible?? In case I use planetscale driver, can I use it with a aws rds??
It said mysql2 on that page, so I think that’s a yes