Objection.js is an ORM for Node.js that 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 built on an SQL query builder called knex. All databases supported by knex are supported by objection.js. SQLite3, Postgres and MySQL.
Key Features
- An easy 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.
- Easy to use transactions.
- Official TypeScript support.
- Optional JSON schema validation.
- A way to store complex documents as single rows.
Website: vincit.github.io/objection.js
Support: GitHub Code Repository
Developer: Sami Koskimäki
License: MIT License
Objection.js is written in JavaScript. Learn JavaScript with our recommended free books and free tutorials.
Related Software
| JavaScript Object-Relational Mapping Software | |
|---|---|
| Sequelize | Promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and more |
| Objection.js | ORM for Node.js that aims to stay out of your way |
| Bookshelf | ORM for Node.js, built on the Knex SQL query builder |
| Waterline | Adapter-based ORM for Node.js |
| Flyweight | ORM for SQLite |
Read our verdict in the software roundup.
| TypeScript Object-Relational Mapping Software | |
|---|---|
| Sequelize | Promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and more |
| TypeORM | ORM that can run in NodeJS, Browser, Cordova, PhoneGap, Ionic ... |
| Prisma | Next-generation Node.js and TypeScript ORM |
| Objection.js | ORM for Node.js that aims to stay out of your way |
| MikroORM | ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

