module Rome::Query::Cache(T)
Direct including types
Defined in:
query/cache.crInstance Method Summary
- #cached?
-
#each(&block : T -> ) : Nil
Iterates all records loaded from the database.
-
#each
Iterates all records if previously loaded from the database, or iterates records directly streamed from the database otherwise.
- #reload
- #to_a : Array(T)
Instance Method Detail
def each
#
Iterates all records if previously loaded from the database, or iterates records directly streamed from the database otherwise.