---
title: "Use SQL Query Builder Knex.js with Node.js and Express.js"
url: https://daily.dev/posts/use-sql-query-builder-knex-js-with-node-js-and-express-js-og3q-m5jb
source_url: https://medium.com/javascript-in-plain-english/use-sql-query-builder-knex-js-with-node-js-and-express-js-4373e8d3ed33
type: article
source: "JavaScript in Plain English"
published: 2021-01-20T06:18:23.220Z
updated: 2021-10-07T14:17:10.317Z
tags: ["general-programming", "nodejs", "sql"]
reading_time: 5
upvotes: 36
comments: 2
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Use SQL Query Builder Knex.js with Node.js and Express.js

**[JavaScript in Plain English](https://daily.dev/sources/jsPlainEnglish)** · 5 min read · 36 upvotes · 2 comments

## Summary

Knex.js is a thin abstraction that sits on top of the database driver for relational databases. It supports transactions, connection pooling, streaming queries, a thorough test suite, and the ability to run in the browser. Knex can be used in both Node.Js and the browser, limited only by WebSQL’s constraints.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://medium.com/javascript-in-plain-english/use-sql-query-builder-knex-js-with-node-js-and-express-js-4373e8d3ed33>

## Community discussion

Top comments from developers on daily.dev.

**@hichamelbsi** · 2 upvotes

> I am a bit skeptical about that picture :D

**@enspdf** · 0 upvotes

> Great article.

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#general-programming](https://daily.dev/tags/general-programming), [#nodejs](https://daily.dev/tags/nodejs), [#sql](https://daily.dev/tags/sql)

[View this post on daily.dev](https://daily.dev/posts/use-sql-query-builder-knex-js-with-node-js-and-express-js-og3q-m5jb)
