Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Knex.js
Knex.js

76
88
+ 1
20
RethinkDB
RethinkDB

231
222
+ 1
296
Add tool

Knex.js vs RethinkDB: What are the differences?

What is Knex.js? SQL query builder for Postgres, MySQL, MariaDB, SQLite3, and Oracle. 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 RethinkDB? JSON. Scales to multiple machines with very little effort. Open source. RethinkDB is built to store JSON documents, and scale to multiple machines with very little effort. It has a pleasant query language that supports really useful queries like table joins and group by, and is easy to setup and learn.

Knex.js can be classified as a tool in the "Database Tools" category, while RethinkDB is grouped under "Databases".

"Write once and then connect to almost any sql engine" is the primary reason why developers consider Knex.js over the competitors, whereas "Powerful query language" was stated as the key factor in picking RethinkDB.

Knex.js and RethinkDB are both open source tools. RethinkDB with 22.3K GitHub stars and 1.73K forks on GitHub appears to be more popular than Knex.js with 9.79K GitHub stars and 1.22K GitHub forks.

miDrive, Runbook, and The Control Group are some of the popular companies that use RethinkDB, whereas Knex.js is used by Decision6, Zube, and Habx. RethinkDB has a broader approval, being mentioned in 37 company stacks & 25 developers stacks; compared to Knex.js, which is listed in 10 company stacks and 9 developer stacks.

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 RethinkDB?

RethinkDB is built to store JSON documents, and scale to multiple machines with very little effort. It has a pleasant query language that supports really useful queries like table joins and group by, and is easy to setup and learn.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Knex.js?
Why do developers choose RethinkDB?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
      Be the first to leave a con
      What companies use Knex.js?
      What companies use RethinkDB?

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with Knex.js?
      What tools integrate with RethinkDB?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      What are some alternatives to Knex.js and RethinkDB?
      Slick
      It is a modern database query and access library for Scala. It allows you to work with stored data almost as if you were using Scala collections while at the same time giving you full control over when a database access happens and which data is transferred.
      Sequel Pro
      Sequel Pro is a fast, easy-to-use Mac database management application for working with MySQL databases.
      PostGIS
      PostGIS is a spatial database extender for PostgreSQL object-relational database. It adds support for geographic objects allowing location queries to be run in SQL.
      Open PostgreSQL Monitoring
      Open PostgreSQL Monitoring is a free software designed to help you manage your PostgreSQL servers.
      Flyway
      It lets you regain control of your database migrations with pleasure and plain sql. Solves only one problem and solves it well. It migrates your database, so you don't have to worry about it anymore.
      See all alternatives
      Decisions about Knex.js and RethinkDB
      艁ukasz Korecki
      艁ukasz Korecki
      CTO & Co-founder at EnjoyHQ | 12 upvotes 40.5K views
      atEnjoyHQEnjoyHQ
      PostgreSQL
      PostgreSQL
      MongoDB
      MongoDB
      RethinkDB
      RethinkDB

      We initially chose RethinkDB because of the schema-less document store features, and better durability resilience/story than MongoDB In the end, it didn't work out quite as we expected: there's plenty of scalability issues, it's near impossible to run analytical workloads and small community makes working with Rethink a challenge. We're in process of migrating all our workloads to PostgreSQL and hopefully, we will be able to decommission our RethinkDB deployment soon.

      See more
      Interest over time
      Reviews of Knex.js and RethinkDB
      No reviews found
      How developers use Knex.js and RethinkDB
      Avatar of Sine Wave Entertainment
      Sine Wave Entertainment uses RethinkDBRethinkDB

      High-speed update-aware storage used in our region server infrastructure; provides a good middle layer for storage of rapidly modified information.

      Avatar of Flux Work
      Flux Work uses Knex.jsKnex.js

      Not an ORM but a query builder. So developers are encouraged or sometimes forced to think about SQL and database layer, which is a good thing.

      Avatar of Runbook
      Runbook uses RethinkDBRethinkDB

      Main database, using it in multiple datacenters in an active-active configuration.

      Avatar of Tobe O
      Tobe O uses RethinkDBRethinkDB

      Angel includes support for multiple databases, out-of-the-box.

      Avatar of Mike MacCana
      Mike MacCana uses RethinkDBRethinkDB

      As a boring document oriented database with safe defaults.

      Avatar of Domraider
      Domraider uses RethinkDBRethinkDB

      Sharded and replicated storage, NoSQL with joins

      Avatar of Zube
      Zube uses Knex.jsKnex.js

      Converts JS to SQL. Pretty awesome!

      How much does Knex.js cost?
      How much does RethinkDB cost?
      Pricing unavailable
      Pricing unavailable
      News about Knex.js
      More news