method

delete_all

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: 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.

Show source
Register or log in to add new notes.