Coding

Bookshelf – ORM for Node.js, built on the Knex SQL query builder

Bookshelf is a JavaScript ORM for Node.js, built on the Knex SQL query builder.

It is designed to work with PostgreSQL, MySQL, and SQLite3.

This is free and open source software.

Key Features

  • Both Promise-based and traditional callback interfaces are supported.
  • Transaction support.
  • Eager/nested-eager relation loading,
  • Polymorphic associations.
  • Support for one-to-one, one-to-many, and many-to-many relations.
  • Concise, literate codebase, Bookshelf is simple to read, understand, and extend. It doesn’t force you to use any specific validation scheme, and provides flexible, efficient relation/nested-relation loading and first-class transaction support.
  • Lean object-relational mapper, allowing you to drop down to the raw Knex interface whenever you need a custom query that doesn’t quite fit with the stock convention

Website: bookshelfjs.org
Support: FAQ, GitHub Code Repository
Developer: Tim Griesser
License: MIT License

Bookshelf 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.


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