How to delete a table data at once?

how to delete all the rows in a specific table in supabase using react query
2 Replies
dys ๐Ÿ™
dys ๐Ÿ™โ€ข10mo ago
DELETE FROM table_name
แผ”ฯฯ‰ฯ‚
แผ”ฯฯ‰ฯ‚โ€ข10mo ago
cant you use a truncate <tablename>? if the table has an autoincrement field, a delete from <table> won't reset it
Want results from more Discord servers?
Add your server