tsqlstring
JSON →Simple SQL escape and format library for T-SQL (Microsoft SQL Server), currently at version 1.0.1. Inspired by the popular sqlstring library for MySQL, tsqlstring provides functions to safely escape values and format queries using placeholders. It supports numbers, booleans, dates, buffers, strings, arrays, nested arrays, objects with toSqlString method, and null/undefined. Notably, it does not support NaN or Infinity as T-SQL lacks support for these. The library is released under the MIT license and is actively maintained.
Resources
packagetsqlstring ↗