module Rome::Query::Cache(T)

Direct including types

Defined in:

query/cache.cr

Instance Method Summary

Instance Method Detail

def cached? #

[View source]
def each(&block : T -> ) : Nil #

Iterates all records loaded from the database.


[View source]
def each #

Iterates all records if previously loaded from the database, or iterates records directly streamed from the database otherwise.


[View source]
def reload #

[View source]
def to_a : Array(T) #

[View source]