-
-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Batch delete is subject to max URL length #292
Comments
definitely: const { data, error } = await supabase
.from('cities')
.delete()
.in('id', ['1', '2']) |
I have a join table using multiple fields as a primary id. For simplicity say user_colors. Perhaps I first add 4 user_colors How does this look in that case? |
@24jr Can you ask that one in a new discussion? https://github.com/supabase/supabase/discussions
|
With filter |
@aiibe Yes, see PostgREST/postgrest#2314. A bulk delete with a request payload is being worked on PostgREST/postgrest#2355. |
Repurposing this issue to batch delete w/ request body |
Discussed in supabase/supabase#4831
Originally posted by pryme0 January 6, 2022
Is there a way to do batch delete with supbase?
Like i pass in an array containing id's of records i want to delete and it runs the operation for me
The text was updated successfully, but these errors were encountered: