Marten::DB::Query::SQL::RowIterator
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.
Constructors
new(model : Model.class, result_set : ::DB::ResultSet, joins : Array(Join), annotations : Array(SQL::Annotation::Base), cursor : Int32 = 0, root_model : Model.class | Nil = nil)
SourceInstance methods
advance
Sourcecursor
Sourceeach_annotation
Sourceeach_joined_relation
Sourceeach_local_column
Sourceeach_parent_column
Source