How can I delete a set of values ? #900
Closed
pullmann4rent
announced in
Announcements
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Expected behavior
Hello,
pgp.helpers gives me insert and update but I cant see the delete function.
How can I delete an array of ids with pg-promise ?
const query = await t.none('DELETE FROM product_media WHERE id IN ...');
or how can I execute this query now ?
Beta Was this translation helpful? Give feedback.
All reactions