class Jennifer::QueryBuilder::NestedRelationTree
Overview
Wrapper class to store information what model relations structure should be loaded in a request.
Defined in:
jennifer/query_builder/nested_relation_tree.crInstance Method Summary
- #add_relation(query, rel, context = @klass, index : Int32 = 0)
- #read(rs, klass : T.class) forall T
- #select_fields(query)
Instance methods inherited from class Jennifer::QueryBuilder::RelationTree
adapter
adapter,
add_deep_relation(query, rel, nested_rel : Symbol, context = @klass, index : Int32 = 0)add_deep_relation(query, rel, nested_rels : Array, context = @klass, index : Int32 = 0)
add_deep_relation(query, rel, nested_rels : Hash | NamedTuple, context = @klass, index : Int32 = 0) add_deep_relation, add_relation(query, rel, context, index : Int32)
add_relation(rel) add_relation, bucket : Array(Element) bucket, clone clone