instance method batch_size

Ruby on Rails 7.2.3

Since v7.0.10

Available in: v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

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

Type at least 2 characters to search.

↑↓ navigate · open · esc close