News for hackers. Stuff that matters.
Re:From Node to Ruby on Rails by LargeWu on Thursday December 16, 2021 @02:45PM (#29582900)
ActiveRecord was, even then, a much better ORM than exists in the Node world today. It was full featured and well hardened, and required basically no setup other than a class declaration. Plus, you could always drop down to the SQL if you needed to. Generally, it was a joy to use, and the performance was usually good enough.

At some point, I gave up on even trying to use any Node ORM's because they were clunky and offered no value. It was easier to just drop straight to a knex session and write the queries natively.

Re:From Node to Ruby on Rails by kkarimi on Thursday December 16, 2021 @06:27PM (#29585484)
You should check what Prisma team has been doing lately
Re:From Node to Ruby on Rails by simonbarker87 on Friday December 17, 2021 @12:32PM (#29595367)
Oh man, so much this - TypeORM is such a disaster when you know how to write SQL. So many times fighting with TypeORM I thought “I’d be done by now if I just write the SQL directly”
Re:From Node to Ruby on Rails by Footkerchief on Thursday December 16, 2021 @07:08PM (#29585834)
Objection (knex-based) is well designed and maintained. It clearly takes inspiration from ActiveRecord. It's light-years ahead of Sequelize in usability and footgun avoidance.