Based on our record, Objection.js seems to be more popular. It has been mentiond 11 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.
Objection.js is a SQL-friendly ORM for Node.js that supports various relational databases, including PostgreSQL, MySQL, and SQLite. It provides a flexible and expressive query builder. Objection.js is known for its expressive syntax, allowing developers to build complex queries easily. It supports eager loading, transactions, and migrations. - Source: dev.to / over 1 year ago
I don't think there's a best per say, but we did recently use Objection on our project. Did the job well, only issue is there's no constructor for the DB Models but it's just something you work around (https://vincit.github.io/objection.js/). Source: almost 2 years ago
If you aren't using TypeScript I'd very much recommend Objection.js, I've used it multiple times and no complaints so far. You can pass raw SQL queries to it as well so I'm sure it would be a good fit for your project! Source: over 2 years ago
You should look into Objection.js. IMHO using that will make your life much easier as it seems you are trying to reimplement it's features in this sample code. Source: over 2 years ago
Next, let’s set up the database for our newly created Nest application. I’ll be using PostgreSQL, but you can use any of the databases Knex supports. To interact with our database, we’ll be using Objection.js, which is an ORM for Node.js built on top Knex. For this tutorial, we’ll be using Nest Objection, a Nest module for Objection. - Source: dev.to / over 2 years ago
Beego - Beego Web is official blog and documentation website for beego app web framework
Hibernate - Hibernate an open source Java persistence framework project.
Mikro orm - TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns.
Propel ORM - Application and Data, Languages & Frameworks, and Microframeworks (Backend)
Westlaw - Legal Research
Dapper - Dapper is a user-friendly object mapper for the .NET framework.