Coding

Objection.js – ORM for Node.js

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
SequelizePromise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and more
DrizzleLightweight, headless object-relational mapper
Objection.jsORM for Node.js that aims to stay out of your way
MidnightORM for SQLite
BookshelfORM for Node.js, built on the Knex SQL query builder
Orange ORMRuns on Node.js, Bun and Deno, supporting CommonJS and ECMAScript mods
SutandoObject-relational mapper for Node.js
WaterlineAdapter-based ORM for Node.js

Read our verdict in the software roundup.

TypeScript Object-Relational Mapping Software
SequelizePromise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and more
TypeORMORM that can run in NodeJS, Browser, Cordova, PhoneGap, Ionic ...
PrismaNext-generation Node.js and TypeScript ORM
Drizzle ORMLightweight TypeScript toolkit for type-safe SQL database access
Objection.jsORM for Node.js that aims to stay out of your way
MikroORMORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns
LucidActive Record database layer designed for AdonisJS applications
JoistOpinionated TypeScript data layer with strong typing and relations

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted