10 Best JavaScript MySQL Query Builder Libraries

List hand-picked by Openbase Experts
Learn More

knex

knex

A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
16.5K
Weekly Downloads
1.1M
Last Commit
9mos ago
User Rating
4.2/ 5
35
Top Feedback
19Great Documentation
14Easy to Use
13Performant
objection

objection

An SQL-friendly ORM for Node.js

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
6.7K
Weekly Downloads
114K
Last Commit
9mos ago
User Rating
3.3/ 5
3
Top Feedback
3Great Documentation
2Easy to Use
1Performant
dbw

dbwalker

Library to walking on database.

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
1
Weekly Downloads
59
Last Commit
9mos ago
User Rating
4.5/ 5
2
Top Feedback
2Easy to Use
2Highly Customizable
2Bleeding Edge
@moccacoders/node-obremap

@moccacoders/node-obremap

Laravel's Eloquent ORM for nodejs

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
13
Weekly Downloads
49
Last Commit
2mos ago
mu

mysql-utilities

Query builder for node-mysql with introspection, etc.

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
108
Weekly Downloads
3.2K
Last Commit
1yr ago
nq

node-querybuilder

Node QueryBuilder Adapter for Node.js (tags: nodejs, node, mysql, active record, activerecord, querybuilder, query builder)

Unknown
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
46
Weekly Downloads
144
Last Commit
3yrs ago
fxsql

fxsql

Node.js Functional SQL Query Builder & ORM

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
182
Weekly Downloads
55
Last Commit
1yr ago
dab

dabs

MySQL Query Builder

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
Weekly Downloads
15
Last Commit
fm

fluent-mysql

MySQL query builder to perform database operations

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
3
Weekly Downloads
2
Last Commit
8mos ago
sqorn-mysql

sqorn-mysql

A Javascript library for building SQL queries

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
1.9K
Weekly Downloads
11
Last Commit
4yrs ago
aqb

active-query-builder

🐸 Simple and flexible way to write your next MySQL queries.

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
2
Weekly Downloads
11
Last Commit
4yrs ago
mj

my-jsql

Easy to use SQL query module for passing JavaScript objects instead of manually writing SQL

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
0
Weekly Downloads
7
Last Commit
4yrs ago
sb

sequel-builder

Ported query library from php yii2 to nodejs. currently only supporting mysql.

ISC
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
Weekly Downloads
7
Last Commit
nq

node-qsb

Node.js Database Query String Builder (QSB) for Mysql/MariaDB

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
2
Weekly Downloads
7
Last Commit
6yrs ago
mql-mysql

mql-mysql

Build sql dynamically

GPL-2.0
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
0
Weekly Downloads
5
Last Commit
4yrs ago
knf

knex-node-firebird

A batteries-included SQL query & schema builder for Postgres, MySQL and SQLite3 and the Browser and fucking Firebird

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
Weekly Downloads
2
Last Commit
sm

sql-mysql

Complex queries can be written with normal SQL, including the values needs to be bound and prefixed with the `sql` tag.

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
0
Weekly Downloads
1
Last Commit
4yrs ago
mq

mysql-qb

MySQL query builder

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
2
Weekly Downloads
1
Last Commit
6yrs ago
qoo

qoop

An OOP style Mysql query builder.

Unknown
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
0
Weekly Downloads
1
Last Commit
5yrs ago
dqb

db-query-builder

NodeJS Express framework mysql query builder and executor library. Inspired by laravel framework

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
0
Weekly Downloads
0
Last Commit
3yrs ago
mmb

mjs-mysql-builder

Mysql query builder

ISC
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
Weekly Downloads
1
Last Commit