class Marten::DB::Query::SQL::RowIterator
- Marten::DB::Query::SQL::RowIterator
- Reference
- Object
Overview
Allows to iterate over the rows of a result set.
The RowIterator
class allows to easily iterate over each local column of a given model and each of its
associated relations so that they can in turn be initialized properly from their local column values when
selected joins are used.
Defined in:
marten/db/query/sql/row_iterator.crConstructors
Instance Method Summary
Constructor Detail
def self.new(model : Model.class, result_set : ::DB::ResultSet, joins : Array(Join), cursor : Int32 = 0)
#