abstract class Jennifer::Relation::IRelation

Overview

Relation interface.

Direct Known Subclasses

Defined in:

jennifer/relation/i_relation.cr

Instance Method Summary

Instance Method Detail

abstract def join_condition(a, b) #

[View source]
abstract def join_query #

[View source]
abstract def model_class #

[View source]
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.


[View source]
abstract def query(primary_value) #

Returns query for given primary field values


[View source]
abstract def table_name #

[View source]