News for hackers. Stuff that matters.
Re:I Miss Rails by parthdesai on Thursday March 28, 2019 @08:19PM (#19517987)
Speaking of JS, do you guys have a suggestion for good SQL querybuilder and maybe a migration tool for Node? I prefer to do everything else by hand or use smaller libraries.

Not that i don't know how to write SQL queries by hand, it's just raw SQL queries with conditions is just ugly.

Re:I Miss Rails by honopu on Thursday March 28, 2019 @09:05PM (#19518254)
Knex is really nice. I use objection which extends it for orm stuff. The insert graph features are pretty neat. I definitely don’t use all it has to offer.
Re:I Miss Rails by Lasokki on Thursday March 28, 2019 @08:22PM (#19518003)
I've been satisfied with Knex.js. It handles query building, transactions, connection pooling and migrations

https://knexjs.org/

Re:I Miss Rails by davedx on Friday March 29, 2019 @09:43AM (#19521589)
I'm using sequelize with an SQL Server database, it's decent so far. I do migrations by hand with a custom __migrations table.
Re:I Miss Rails by tobyhinloopen on Friday March 29, 2019 @04:22AM (#19519974)
I really like TypeORM (for Typescript projects) & Knex (for non-TS projects)