Sql Template Tag Versions Save

ES2015 tagged template string for preparing SQL statements, works with `pg`, `mysql`, and `sqlite`

v5.2.1

4 weeks ago

Added

Fixed

  • Add missing template to example (#39) thanks to @menduz

https://github.com/blakeembrey/sql-template-tag/compare/v5.2.0...v5.2.1

v5.1.0

8 months ago

Added

  • Add bulk method (#31) 51ed0bc
  • Mark all inputs as readonly caf47b0

https://github.com/blakeembrey/sql-template-tag/compare/v5.0.3...v5.1.0

v5.0.3

1 year ago

v5.0.2

2 years ago

Improved performance across the main use-cases:

  • Constructor shows 4% improvement
  • sql method shows 14% improvement
  • text method shows 4% improvement

These are pretty minor adjustments so feel free to test it on your OS and JS configurations to confirm whether these changes help.

v5.0.1

2 years ago

Fixed

  • Allow using Date as a value (#26) 91dff99

https://github.com/blakeembrey/sql-template-tag/compare/v5.0.0...v5.0.1

v5.0.0

2 years ago

Changed

  • Properly type check objects 16b4ede
  • Remove older cruft around enumerable properties and duplicated exports a978eed
  • Bump node 12 depenency 662f2fc
  • Build for ES modules bec0263

Added

  • Add mssql recipe to README 36c9db4

https://github.com/blakeembrey/sql-template-tag/compare/v4.1.0...v5.0.0

v4.1.0

2 years ago

Fixed/changed

  • Use inspect symbol over import d1fb92e (to support browsers)
  • Rename default export to sql (#15) a10d034

https://github.com/blakeembrey/sql-template-tag/compare/v4.0.0...v4.1.0

v4.0.0

3 years ago

In the initial release I used raw strings, but this creates confusion and bugs on how the string should be interpreted, preferring to use the plain JS strings instead (more info at #11).

v3.4.0

3 years ago

Fixed

  • 3x faster, 4x less memory overhead

Changed

  • Removed access to raw* properties (previously protected properties)