class ManufactoryQuery

Defined in:

queries/manufactory_query.cr

Instance Method Summary

Instance methods inherited from class Manufactory::BaseQuery

clone clone, company_id(value)
company_id
company_id
, created_at(value)
created_at
created_at
, find(id) find, full_join_company full_join_company, full_join_workshops full_join_workshops, id(value)
id
id
, inner_join_company inner_join_company, inner_join_workshops inner_join_workshops, join_company join_company, join_workshops join_workshops, left_join_company left_join_company, left_join_workshops left_join_workshops, name(value)
name
name
, preload_company(preload_query : Company::BaseQuery) : self
preload_company : self
preload_company(&) : self
preload_company
, preload_workshops(preload_query : Workshop::BaseQuery) : self
preload_workshops : self
preload_workshops(&) : self
preload_workshops
, right_join_company right_join_company, right_join_workshops right_join_workshops, update(id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, company_id : Company::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new) : Int64 update, updated_at(value)
updated_at
updated_at
, where_company(assoc_query : Company::BaseQuery, auto_inner_join : Bool = true) where_company, where_workshops(assoc_query : Workshop::BaseQuery, auto_inner_join : Bool = true) where_workshops

Constructor methods inherited from class Manufactory::BaseQuery

all : self all

Class methods inherited from class Manufactory::BaseQuery

any? : Bool any?, find(id) find, first : T first, first? : T | Nil first?, last : T last, last? : T | Nil last?, new_with_existing_query(query : Avram::QueryBuilder) new_with_existing_query, none? : Bool none?, preload_company(record : Manufactory, force : Bool = false) : Manufactory
preload_company(record : Manufactory, force : Bool = false, &) : Manufactory
preload_company(record : Manufactory, preload_query : Company::BaseQuery, force : Bool = false) : Manufactory
preload_company(records : Enumerable(Manufactory), force : Bool = false) : Array(Manufactory)
preload_company(records : Enumerable(Manufactory), force : Bool = false, &) : Array(Manufactory)
preload_company(records : Enumerable(Manufactory), preload_query : Company::BaseQuery, force : Bool = false) : Array(Manufactory)
preload_company
, preload_workshops(record : Manufactory, force : Bool = false) : Manufactory
preload_workshops(record : Manufactory, force : Bool = false, &) : Manufactory
preload_workshops(record : Manufactory, preload_query : Workshop::BaseQuery, force : Bool = false) : Manufactory
preload_workshops(records : Enumerable(Manufactory), force : Bool = false) : Array(Manufactory)
preload_workshops(records : Enumerable(Manufactory), force : Bool = false, &) : Array(Manufactory)
preload_workshops(records : Enumerable(Manufactory), preload_query : Workshop::BaseQuery, force : Bool = false) : Array(Manufactory)
preload_workshops
, truncate(*, cascade : Bool = false) truncate

Instance Method Detail

def company_id #

def created_at #

def id #

def name #

def updated_at #