class 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.

Defined in:



Instance Method Summary

Constructor Detail

def : Model.class, result_set : ::DB::ResultSet, joins : Array(Join), cursor : Int32 = 0) #

[View source]

Instance Method Detail

def advance #

[View source]
def cursor : Int32 #

[View source]
def each_joined_relation(&) #

[View source]
def each_local_column(&) #

[View source]