Any Postgres compatible ORM for Node.js?


Question

I'm seeking for a good ORM for postgres under Node.js, one that supports declaration of relationships beetween models, and fields validation. I've searched during a long time and cannot get any satisfying results. Maybe someone can point me to a project I missed during my researches. Thx.

1
37
11/7/2011 8:21:23 PM

Accepted Answer

node-orm2 looks good: supports association, validators, and mysql, postgres, and mongo (in beta)

UPDATE: The node-orm2 package is no longer maintained. Possible alternatives include bookshelf or sequelize.

15
2/26/2019 4:27:44 AM

SequelizeJS - models, validation and migrations

BookshelfJS - a promise based ORM looks quite promising


Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon