mssql-query-builder

JSON →
library 1.0.3 ·javascript maintenance
verified Jun 5, 2026

A JavaScript library for dynamically building Microsoft SQL Server queries using a fluent, chainable API. Version 1.0.3 (latest) generates parameterized SQL with automatic variable naming via `input()`, supports SELECT, FROM, WHERE, GROUP BY, HAVING, ORDER BY, OFFSET/FETCH for pagination, and conditionally constructs queries. The library integrates with `mssql` for execution but does not require it; queries can be built and output as strings. It contrasts with raw string concatenation by reducing injection risks and improving readability. No active maintenance since 2021; last commit over two years ago.