Software Alternatives & Reviews

Bookshelf.js VS Sequelize

Compare Bookshelf.js VS Sequelize and see what are their differences

Bookshelf.js logo Bookshelf.js

Application and Data, Data Stores, and Object Relational Mapper (ORM)

Sequelize logo Sequelize

Provides access to a MySQL database by mapping database entries to objects and vice-versa.
  • Bookshelf.js Landing page
    Landing page //
    2021-08-21
  • Sequelize Landing page
    Landing page //
    2022-10-28

Bookshelf.js videos

Bookshelf.js crud for beginners

Sequelize videos

Sequelize Review

More videos:

  • Review - sequelize review
  • Review - Should you use Sequelize, TypeORM, or Prisma?

Category Popularity

0-100% (relative to Bookshelf.js and Sequelize)
Development
25 25%
75% 75
Web Frameworks
22 22%
78% 78
Application And Data
100 100%
0% 0
Databases
0 0%
100% 100

User comments

Share your experience with using Bookshelf.js and Sequelize. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, Sequelize should be more popular than Bookshelf.js. It has been mentiond 44 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Bookshelf.js mentions (6)

  • Top 6 ORMs for Modern Node.js App Development
    Bookshelf.js is an uncomplicated and lightweight ORM designed for Node.js, constructed atop the Knex.js query builder. Its primary aim is to support SQL databases, such as PostgreSQL, MySQL, and SQLite. Bookshelf.js focuses on simplicity and user-friendliness, offering a direct method for defining models and relationships through JavaScript classes and prototypal inheritance. - Source: dev.to / 7 months ago
  • Is there a 'batteries included' backend framework like Django, but written in JS?
    If you're set on JS (using only one language on a team/project can be very nice) common choices for backend often involve using Express or hapi with some ORM (like Prisma or Bookshelf). Source: about 2 years ago
  • Using Database Transactions to Write Queries in Strapi
    Strapi uses Bookshelf.js library to send database queries in an ORM fashion. Bookshelf itself is powered by Knex.js, which is a SQL query builder. Knex.js supports popular SQL-based database engines like PostgreSQL, SQLite, MySQL, and MariaDB, which are also supported by Strapi. Knex.js also supports database transactions, which then makes Bookshelf also provides support for it. With a basic understanding of both... - Source: dev.to / over 2 years ago
  • Recovering XAMPP developer looking to make a Node CRUD app. What Node database tools are easy to learn?
    I made the transition from LAMP to Node-based stacks 6 or 7 years ago and started out using BookshelfJS. Node is a different world though, one that lends itself to distributed services and server-less infrastructure, and it's changed how I interact with DBs. Source: over 2 years ago
  • How to get randomly sorted recordsets in Strapi
    First, we need to get all recordsets randomly sorted. To achieve this, we will need to build a query. Strapi is using Bookshelf as an ORM. So we can start by getting our Partnership model, so we can run a query on it. Inside the query, we get a knex (this is the query builder that Bookshelf uses under the hood) query builder instance. On this query builder instance, we can there ask to order recordsets randomly.... - Source: dev.to / over 2 years ago
View more

Sequelize mentions (44)

  • NodeJS Security Best Practices
    If you use Sequalize, TypeORM or for MongoDB, we have Mongoose these types of ORM tools, then you are safe by default because these help us against the SQL query injection attacks by default. - Source: dev.to / 3 months ago
  • How to Build & Deploy Scalable Microservices with NodeJS, TypeScript and Docker || A Comprehesive Guide
    Our orders microservice will have its own set of teachnologies just like we earlier plotted that is mysql database and sequelize orm. MySQL is an open-source relational database management system (RDBMS) that is widely used for building web applications and managing data. It is a popular choice for many developers and organizations due to its performance, reliability, and ease of use. Sequelize is a popular... - Source: dev.to / 3 months ago
  • What Are ORMs & Should You Use Them
    However, some ORM operations can’t be translated into a single SQL query that easily. Let’s take Sequelize's findOrInsert. It first sends a SELECT query like this:. - Source: dev.to / 6 months ago
  • Top 6 ORMs for Modern Node.js App Development
    Sequelize is an extensively employed ORM for Node.js. It supports relational databases, such as MySQL, PostgreSQL, SQLite, and MSSQL. Sequelize boasts a comprehensive array of features for database modeling and querying. It caters to various coding styles by accommodating both Promise and Callback-based APIs. Moreover, it encompasses advanced functionalities such as transactions, migrations, and associations,... - Source: dev.to / 7 months ago
  • Contributing to Tech Communities: How Open-Source can land you a job and get you out of the Skill Paradox 💼
    I made a small change to the new documentation for Sequelize! I was just scrolling through the documentation and found this mistake that could lead others to weird debugging sessions, so as soon as I found it, I submitted a PR for them! You can check out the contribution here! - Source: dev.to / 8 months ago
View more

What are some alternatives?

When comparing Bookshelf.js and Sequelize, you can also consider the following products

Beego - Beego Web is official blog and documentation website for beego app web framework

Hibernate - Hibernate an open source Java persistence framework project.

Mikro orm - TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns.

Entity Framework - See Comparison of Entity Framework vs NHibernate.

Propel ORM - Application and Data, Languages & Frameworks, and Microframeworks (Backend)

SQLAlchemy - SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.