class RethinkORM::Collection(T)

Included Modules

Defined in:

rethinkdb-orm/utils/collection.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(iterator : Iterator(RethinkDB::QueryResult) | RethinkDB::QueryResult) #

[View source]

Instance Method Detail

def next : T | Iterator::Stop #
Description copied from module Iterator(T)

Returns the next element in this iterator, or Iterator::Stop::INSTANCE if there are no more elements.


[View source]
def stop #
Description copied from module Iterator(T)

Shortcut for Iterator::Stop::INSTANCE, to signal that there are no more elements in an iterator.


[View source]