abstract class Jennifer::Relation::IRelation
- Jennifer::Relation::IRelation
- Reference
- Object
Overview
Relation interface.
Direct Known Subclasses
Defined in:
jennifer/relation/i_relation.crInstance Method Summary
- #join_condition(a, b)
- #join_query
- #model_class
-
#preload_relation(collection, out_collection : Array(Model::Resource), pk_repo)
Preloads relation into collection from out_collection depending on keys from pk_repo.
-
#query(primary_value)
Returns query for given primary field values
- #table_name
Instance Method Detail
abstract
def preload_relation(collection, out_collection : Array(Model::Resource), pk_repo)
#
Preloads relation into collection from out_collection depending on keys from pk_repo.