Hacker GitHub

← All repos

felixfbecker/node-sql-template-strings

View on GitHub ↗ ★ 624 JavaScript

ES6 tagged template strings for prepared SQL statements 📋

7 mentions on Hacker News by 5 people: 1 story, 6 comments · first 2015-09-24 · latest 2021-06-18

Mentions per year 7 mentions · busiest year 2021 (3)
20082026
  1. …similar lines but more simple/agnostic, check out node-sql-template-strings[0] or sqlate[1]. [0]: https://github.com/felixfbecker/node-sql-template-strings [1]: https://github.com/moll/js-sqlate
    comment by bhj · 2021-06-18 · in DenoDB
  2. Any reason you chose that over node-sql-template-strings [1], which looks very similar? [1] https://github.com/felixfbecker/node-sql-template-strings
  3. …pitfalls that you encountered? I'm trying to decide between this, or writing my own helpers around https://github.com/felixfbecker/node-sql-template-strings . Also, have you found anything the solves typechecking of embedded expressions…
  4. Thankfully [0], it [1] already [2] exists. [3] [0] https://github.com/gajus/slonik-sql-tag-raw [1] https://github.com/felixfbecker/node-sql-template-strings [2] https://github.com/blakeembrey/sql-template-tag [3]…
  5. …for html, preventing injection. You just need to implement the corresponding functions. For example https://github.com/felixfbecker/node-sql-template-strings
  6. ▲ 1
    ES6 tagged template strings for prepared SQL statements
    story by naranha · 2018-06-26 · 0 comments
  7. …I'm not a huge fan of typing in JS/TS, but I could at least see the value to some in that case. [1] https://github.com/felixfbecker/node-sql-template-strings [2] https://github.com/tracker1/mssql-ng disclaimer: I wrote mssql-ng and used it…
    comment by tracker1 · 2015-09-24 · in BookShelf, Simple ORM for Node