3 ms·
And if you just want a flexible ORM without models, knex (http://knexjs.org/ http://knexjs.org/), which bookshelf uses. I found knex + Postgres to be a great c
by aselzer 12y ago
And if you just want a flexible ORM without models, knex (http://knexjs.org/ http://knexjs.org/), which bookshelf uses.
I found knex + Postgres to be a great combination.
- whatthemick 12y agoLikely also better performance with just using Knex. Any ORM likely adds overhead, Sequelize definitely does, although we keep working on reducing that overhead - But inevitably features === overhead.
- igl 12y agoI really really really like Knex. While Mongo claims to be "easy" and "js-native", It's far easier doing complicated queries with Knex on Postgres than on Mongo with the official client. I work on a mongo project and doing aggregate queries is really ugly and painful. Everyone praising mongo probably never made "advanced" queries like that or dismissed SQL as shitty and unsecure without ever using it.
- wilmoore 12y agoI personally wouldn't consider Knex an ORM. I'd describe it more as: A cohesive set of functions that help you build and execute SQL operations.