class Granite::AssociationCollection(Owner, Target)
- Granite::AssociationCollection(Owner, Target)
- Reference
- Object
Defined in:
granite/association_collection.crConstructors
Macro Summary
Instance Method Summary
- #all(clause = "", params = [] of DB::Any)
- #find(value)
- #find!(value)
- #find_by(**args)
- #find_by!(**args)
Constructor Detail
def self.new(owner : Owner, foreign_key : Symbol | String, through : Symbol | String | Nil = nil, primary_key : Symbol | String | Nil = nil)
#