Y
Hacker News
new
|
ask
|
show
|
jobs
by
EGreg
637 days ago
Literally a library can generate SQL statements and compile them
JS and PHP has tagged literals
But they have to be “escaped” properly before being interpolated!
1 comments
scotty79
637 days ago
That's the whole point of having a separate type for queries. Whenever you try to glue a string to a query the string gets escaped.
link