Knex.js vs. Sequelize

  • -
  • 2
  • 0
  • 10
  • 16
  • 0

What is Knex.js?

Knex.js is a "batteries included" SQL query builder for Postgres, MySQL, MariaDB, SQLite3, and Oracle designed to be flexible, portable, and fun to use. It features both traditional node style callbacks as well as a promise interface for cleaner async flow control, a stream interface, full featured query and schema builders, transaction support (with savepoints), connection pooling and standardized responses between different query clients and dialects.

What is Sequelize?

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.
Why do developers choose Knex.js?
Why do you like Knex.js?

Why do developers choose Sequelize?
Why do you like Sequelize?

What are the cons of using Knex.js?
No Cons submitted yet for Knex.js
Downsides of Knex.js?

What are the cons of using Sequelize?
No Cons submitted yet for Sequelize
Downsides of Sequelize?

Want advice about which of these to choose?Ask the StackShare community!

What companies use Knex.js?
12 companies on StackShare use Knex.js
What companies use Sequelize?
43 companies on StackShare use Sequelize
What tools integrate with Knex.js?
5 tools on StackShare integrate with Knex.js
What tools integrate with Sequelize?
9 tools on StackShare integrate with Sequelize

What are some alternatives to Knex.js and Sequelize?

  • Sequel Pro - MySQL database management for Mac OS X
  • PostGIS - Open source spatial database
  • Open PostgreSQL Monitoring - Oversee and Manage Your PostgreSQL Servers
  • Liquibase - Source control for your database

See all alternatives to Knex.js



Interest Over Time