23 ms·
postgres.js sanitizes inputs, but also provides a backdoor, so sql`select ${"hello"}, ${sql`world`}` becomes select $1, world [1] https://github.com/por
by surprisetalk 3y ago
postgres.js sanitizes inputs, but also provides a backdoor, so
sql`select ${"hello"}, ${sql`world`}`
becomes
select $1, world
[1] https://github.com/porsager/postgres https://github.com/porsager/postgres