instance method
batch_size
Ruby on Rails 7.1.6
Since v7.0.10Signature
batch_size()
The size of the batches yielded by the BatchEnumerator.
Source
# File activerecord/lib/active_record/relation/batches/batch_enumerator.rb, line 27
def batch_size
@of
end
Defined in activerecord/lib/active_record/relation/batches/batch_enumerator.rb line 27
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Batches::BatchEnumerator