drizzle-team / drizzle-orm

Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅
https://orm.drizzle.team
Apache License 2.0
23.51k stars 576 forks source link

Feedback for “Installation & database connection” docs page #360

Closed capaj closed 1 year ago

capaj commented 1 year ago

would be nice to have some sort of guidance here as to which one should you choose. Like I know I should probably choose aws-data-api when I run on AWS, but what about node-postgres vs postgres.js ?

I think node-postgres needs binaries, but should be faster, right? Most people won't have a clue what to pick from these two.

AlexBlokh commented 1 year ago

On our projects we use postgresjs, it's not only way faster, it's a pure js implementation which lets you bundle your server implementation without any binary dependencies, so you can have docker container with Apline Linux, nodejs and simple bundle.js

Thank you for your feedback, we'll add that to docs