module PgORM::Query::Cache(T)
Direct including types
Defined in:
pg-orm/query/cache.crInstance Method Summary
- #cached?
-
#each(& : 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.