whats the best way to delete all rows from all tab...
# javascript
m
whats the best way to delete all rows from all tables?
s
With the JavaScript SDK you can do
Copy code
js
const { data, error } = await supabase
  .from('table_name')
  .delete()
Or you can use the sql editor in the dashboard and do
Copy code
sql
TRUNCATE TABLE table_name;