DEV Community

Discussion on: ORM vs Query Builders vs Raw SQL

Collapse
 
souksyp profile image
Souk Syp.

IMO if you like raw SQL (because like me you like to EXPLAIN ANALYSE then copy/paste), you'd better stick with Knex.

As for models, ObjectionJS looks cool, but you can write your own too. I may need it later on bigger side projects.

Right now, Knex solely is all I need to link my Node app to a Postgres database.