class Granite::AssociationCollection(Owner, Target)

Defined in:

granite/association_collection.cr

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(owner : Owner, foreign_key : Symbol | String, through : Symbol | String | Nil = nil, primary_key : Symbol | String | Nil = nil) #

[View source]

Macro Detail

macro method_missing(call) #

[View source]

Instance Method Detail

def all(clause = "", params = [] of DB::Any) #

[View source]
def find(value) #

[View source]
def find!(value) #

[View source]
def find_by(**args) #

[View source]
def find_by!(**args) #

[View source]