drizzle-orm icon indicating copy to clipboard operation
drizzle-orm copied to clipboard

Feedback for “Installation & database connection” docs page

Open capaj opened this issue 2 years ago • 1 comments

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.

capaj avatar Apr 02 '23 08:04 capaj

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

AlexBlokh avatar Apr 02 '23 09:04 AlexBlokh