Hacker News new | ask | show | jobs
by wasd 4705 days ago
I just found node-postgres and it looks okay. Active development and issues look like they're not major. Do you have any experience with it?

https://github.com/brianc/node-postgres

EDIT:

Whoops, its clearly just a client and not an ORM. How about

https://github.com/dresende/node-orm2

instead?

2 comments

I mean you're kind of trying to say "Why not X?" The answer is X would probably work fine, but Mongoose got there first, set the standard, has lots and mindshare, and is very well written and tested.

Could most everyone use D instead of Go or Java? Yeah, probably they could. Is one significantly objectively better than the others? Probably not.

I've used Mongoose extensively and it just works. It feels really idiomatic and has a lot of love in the community. I don't have a reason to look anywhere else.

You can't really compare node-postgres and Mongoose. The former is a simple Postgres client, while the latter is a fully-featured ODM.