Objection.js: Detailed Overview & Metrics

v3.1.5(4 months ago)

This package is actively maintained.Types definitions are bundled with the npm packageNumber of direct dependencies: 3Monthly npm downloads

Objection is a popular Node.js ORM (Object-Relational Mapping) library for SQL databases, designed to simplify database interactions and streamline data querying in applications. It provides a robust query builder that allows developers to construct complex SQL queries using a fluent and intuitive syntax. Objection also offers support for eager loading relationships, transactions, and database migrations, making it a comprehensive solution for working with SQL databases in Node.js applications.

Compared to other Node.js ORM libraries like Sequelize and TypeORM, Objection stands out for its simplicity, flexibility, and ease of use. It provides a balance between high-level abstractions and direct SQL control, catering to a wide range of use cases.

Alternatives:
sequelize+
typeorm+
knex+
mikro-orm+
bookshelf+
prisma+
waterline+
mongoose+
massive+
pg-promise+

Tags: node.jsORMSQLdatabasequery-builder