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
20082026
-
Any reason you chose that over node-sql-template-strings [1], which looks very similar? [1] https://github.com/felixfbecker/node-sql-template-strings
comment by smallnamespace · 2021-03-11 · in Slonik: A PostgreSQL client with strict types, detailed logging, and assertions -
…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…
comment by smallnamespace · 2021-03-11 · in Slonik: A PostgreSQL client with strict types, detailed logging, and assertions -
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]…
comment by __ryan__ · 2020-09-03 · in Show HN: ORM for TypeScript with no query-builder, supporting full SQL queries -
…for html, preventing injection. You just need to implement the corresponding functions. For example https://github.com/felixfbecker/node-sql-template-strings
comment by naranha · 2018-09-19 · in Javascript: call functions without using parentheses -
…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