Comment Comment by naranha It can be used for escaping values for examplevar query = sql`select * from user where id=${id}`Similar for html, preventing injection. You just need to implement the corresponding functions.For example https://github.com/felixfbecker/node-sql-template-strings parent naranha 8 years ago
var query = sql`select * from user where id=${id}`
Similar for html, preventing injection. You just need to implement the corresponding functions.
For example https://github.com/felixfbecker/node-sql-template-strings