How to bulk delete _many_ records

In testing the /batch endpoint, we've accidentally uploaded far too many copies of the same record (cause there aren't unique constraints yet). Is there an easy way to clear the table? I see there isn't a bulk-delete endpoint, and the UI only lets you select 60 items at a time
3 Replies
charles
charles5mo ago
Yes, it's a current limitation. We have an ongoing workstream here: https://github.com/twentyhq/twenty/issues/5169
GitHub
Improve the Backend for Mass Record Deletion · Issue #5169 · twenty...
Current Behavior pg_graphql constraints restrict deletion to a maximum of 30 records per operation. Desired Behavior Implement a loop on the delete request to delete more records in a single operat...
charles
charles5mo ago
It's prioritized in the next weeks 🙂 Closing as we already have a ticket to track it
SkepticMystic
SkepticMystic5mo ago
Thanks for the info!
Want results from more Discord servers?
Add your server