What is Objection.js?
It aims to stay out of your way and make it as easy as possible to use the full power of SQL and the underlying database engine while still making the common stuff easy and enjoyable.
Objection.js is a tool in the Object Relational Mapper (ORM) category of a tech stack.
Objection.js is an open source tool with 4.7K GitHub stars and 400 GitHub forks. Here’s a link to Objection.js's open source repository on GitHub
Who uses Objection.js?
6 companies reportedly use Objection.js in their tech stacks, including Tuup Backend, Habx, and iOS.
6 developers on StackShare have stated that they use Objection.js.
Why developers like Objection.js?
Here’s a list of reasons why companies and developers use Objection.js
Be the first to leave a pro
- A declarative way of defining models and relationships between them
- Simple and fun way to fetch, insert, update and delete objects using the full power of SQL
- Powerful mechanisms for eager loading, inserting and upserting object graphs
- A way to store complex documents as single rows Completely Promise based API
- Easy to use transactions
- Optional JSON schema validation
Objection.js Alternatives & Comparisons
What are some alternatives to Objection.js?
See all alternatives
Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.
Sequelize is a promise-based ORM for Node.js and io.js. It supports the dialects PostgreSQL, MySQL, MariaDB, SQLite and MSSQL and features solid transaction support, relations, read replication and more.
SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
Doctrine 2 sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL.
It is an object-relational mapper that enables .NET developers to work with relational data using domain-specific objects. It eliminates the need for most of the data-access code that developers usually need to write.