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.
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.