NeonN
Neon17mo ago
38 replies
embarrassing-maroon

Drizzle ORM + Hyperdrive

Hello all 🫡

May I please ask you which postgresql driver you consider the most optimal one, when being used by drizzle orm and hyperdrive for cloudflare workers?

I understand that drizzle orm supports the neondb serverless as well:
https://orm.drizzle.team/docs/get-started-postgresql

However hyperdrive recommends postgres.js:
https://developers.cloudflare.com/hyperdrive/configuration/connect-to-postgres/


Which one should I use?


Thanks in advance for your valuable time🙏
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
Cloudflare Docs
Hyperdrive supports PostgreSQL and PostgreSQL-compatible databases, popular drivers and Object Relational Mapper (ORM) libraries that use those drivers.
Connect to PostgreSQL | Hyperdrive
Was this page helpful?