Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Delete items based on a list #1388

Unanswered
fponroy asked this question in Q&A
Discussion options

Hello guys,

First, congrats for sqlc, that's really a great tool.

Quick question: is it possible to generate a DELETE query to delete multiple items at the same time? The idea would be to have something like this:

-- name: DeleteInBulk :exec
DELETE
FROM table
WHERE id IN (1ドル::uuid[]);

I didn't see anything in the documentation for that, hope I didn't miss it!

Thanks a lot in advance.

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /