(no title)
MuffinFlavored | 12 days ago
const { rows } = client.query(
"select id, name, last_modified from tbl where id = $1",
[42],
);
instead of const { rows } = client.query(
"select id, name, last_modified from tbl where id = :id",
{ id: 42 },
);
n_e|12 days ago