class

Granite::AssociationCollection(Owner, Target)

Inherits Reference < Object

Constructors

new(owner : Owner, foreign_key : Symbol | String, through : Symbol | String | Nil = nil, primary_key : Symbol | String | Nil = nil)
Source

Instance methods

all(clause = "", params = [] of DB::Any)
Source
find(value)
Source
find!(value)
Source
find_by
Source
find_by!
Source

Macros

method_missing(call)
Source