Preparing for system design interviews?  Try bugzed.com →

sql-string-qb

JSON →
library 1.0.3 ·javascript
verified Jun 5, 2026

A minimal, dependency-free JavaScript/TypeScript library for assembling complex SQL queries using template literals. Version 1.0.3, MIT licensed. It returns an object compatible with popular database clients (pg, mysql, mysql2, sequelize, oracledb) by providing multiple query string representations (?, $1, :1 placeholders). Inspired by classNames, it uses tagged template functions (qb.t) for safe value interpolation. Ships TypeScript types, supports Deno, and has zero dependencies. Experimental helper functions (qb.set, qb.values, qb.in) for SET, VALUES, and IN clauses.

total hits 6
actors 1 distinct systems
last hit 22d ago human
GPTBot
3
Humans
3

top countries 🇸🇬 Singapore · 🇺🇸 United States