method
delete_all
v8.1.1 -
Show latest stable
- Class:
ActiveRecord::Batches::BatchEnumerator
delete_all()public
Deletes records in batches. Returns the total number of rows affected.
Person.in_batches.delete_all
See Relation#delete_all for details of how each batch is deleted.