What is Bookshelf.js?
It stems from the Knex.js, which is a flexible query builder that works with PostgreSQL, MySQL and SQLite3. Bookshelf.js builds on top of this by providing functionality for creating data models, forming relations between these models, and other common tasks needed when querying a database.
Bookshelf.js is a tool in the Object Relational Mapper (ORM) category of a tech stack.
Bookshelf.js is an open source tool with GitHub stars and GitHub forks. Here’s a link to Bookshelf.js's open source repository on GitHub
Who uses Bookshelf.js?
4 companies reportedly use Bookshelf.js in their tech stacks, including Backend, Lob API, and stack.
Pros of Bookshelf.js
- Table creation
- Promise-based and traditional callback interfaces
Bookshelf.js Alternatives & Comparisons
What are some alternatives to Bookshelf.js?
See all alternatives
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.
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.