And if you just want a flexible ORM without models, knex (http://knexjs.org/), which bookshelf uses.
I found knex + Postgres to be a great combination.
I found knex + Postgres to be a great combination.
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.
A cohesive set of functions that help you build and execute SQL operations.