Method: Cequel::Record::RecordSet#find_each_row
- Defined in:
- lib/cequel/record/record_set.rb
#find_each_row(options = {}) {|row| ... } ⇒ Enumerator, void
Enumerate over the row data for each record in this record set, without hydrating an actual Cequel::Record instance. Useful for operations where speed is at a premium.
628 629 630 631 |
# File 'lib/cequel/record/record_set.rb', line 628 def find_each_row( = {}, &block) return enum_for(:find_each_row, ) unless block find_rows_in_batches() { |rows| rows.each(&block) } end |