class WorkshopQuery
- WorkshopQuery
- Workshop::BaseQuery
- Reference
- Object
Defined in:
queries/workshop_query.crInstance Method Summary
Instance methods inherited from class Workshop::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_manufactory full_join_manufactory, full_join_process_lines full_join_process_lines, id(value)
id id, inner_join_company inner_join_company, inner_join_manufactory inner_join_manufactory, inner_join_process_lines inner_join_process_lines, join_company join_company, join_manufactory join_manufactory, join_process_lines join_process_lines, left_join_company left_join_company, left_join_manufactory left_join_manufactory, left_join_process_lines left_join_process_lines, manufactory_id(value)
manufactory_id manufactory_id, name(value)
name name, preload_company(preload_query : Company::BaseQuery) : self
preload_company : self
preload_company(&) : self preload_company, preload_manufactory(preload_query : Manufactory::BaseQuery) : self
preload_manufactory : self
preload_manufactory(&) : self preload_manufactory, preload_process_lines(preload_query : ProcessLine::BaseQuery) : self
preload_process_lines : self
preload_process_lines(&) : self preload_process_lines, right_join_company right_join_company, right_join_manufactory right_join_manufactory, right_join_process_lines right_join_process_lines, 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, manufactory_id : Manufactory::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_manufactory(assoc_query : Manufactory::BaseQuery, auto_inner_join : Bool = true) where_manufactory, where_process_lines(assoc_query : ProcessLine::BaseQuery, auto_inner_join : Bool = true) where_process_lines
Constructor methods inherited from class Workshop::BaseQuery
all : self
all
Class methods inherited from class Workshop::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 : Workshop, force : Bool = false) : Workshoppreload_company(record : Workshop, force : Bool = false, &) : Workshop
preload_company(record : Workshop, preload_query : Company::BaseQuery, force : Bool = false) : Workshop
preload_company(records : Enumerable(Workshop), force : Bool = false) : Array(Workshop)
preload_company(records : Enumerable(Workshop), force : Bool = false, &) : Array(Workshop)
preload_company(records : Enumerable(Workshop), preload_query : Company::BaseQuery, force : Bool = false) : Array(Workshop) preload_company, preload_manufactory(record : Workshop, force : Bool = false) : Workshop
preload_manufactory(record : Workshop, force : Bool = false, &) : Workshop
preload_manufactory(record : Workshop, preload_query : Manufactory::BaseQuery, force : Bool = false) : Workshop
preload_manufactory(records : Enumerable(Workshop), force : Bool = false) : Array(Workshop)
preload_manufactory(records : Enumerable(Workshop), force : Bool = false, &) : Array(Workshop)
preload_manufactory(records : Enumerable(Workshop), preload_query : Manufactory::BaseQuery, force : Bool = false) : Array(Workshop) preload_manufactory, preload_process_lines(record : Workshop, force : Bool = false) : Workshop
preload_process_lines(record : Workshop, force : Bool = false, &) : Workshop
preload_process_lines(record : Workshop, preload_query : ProcessLine::BaseQuery, force : Bool = false) : Workshop
preload_process_lines(records : Enumerable(Workshop), force : Bool = false) : Array(Workshop)
preload_process_lines(records : Enumerable(Workshop), force : Bool = false, &) : Array(Workshop)
preload_process_lines(records : Enumerable(Workshop), preload_query : ProcessLine::BaseQuery, force : Bool = false) : Array(Workshop) preload_process_lines, truncate(*, cascade : Bool = false) truncate