dabs

JSON →
library 0.0.32 ·javascript
verified Jun 5, 2026

dabs is a MySQL query builder that wraps MySQL2 to provide a fluent API for constructing SQL queries (SELECT, INSERT, UPDATE, DELETE) with support for joins, aggregations, parameterized placeholders, and computed fields. Current version 0.0.32 is pre-1.0 with no fixed release cadence. Differentiates with a chainable syntax using field references via table aliases, automatic identifier quoting, and inline parameter binding via db._() placeholders. However, it is very early-stage, lacks comprehensive documentation, and may have breaking changes. Alternative libraries like knex or squel are more mature.