class UnitQuery
- UnitQuery
- Unit::BaseQuery
- Reference
- Object
Defined in:
queries/unit_query.crInstance Method Summary
Instance methods inherited from class Unit::BaseQuery
clone
clone,
created_at(value)created_at created_at, find(id) find, full_join_goods full_join_goods, goods(&) goods, id(value)
id id, inner_join_goods inner_join_goods, join_goods join_goods, left_join_goods left_join_goods, name(value)
name name, preload_goods(preload_query : Good::BaseQuery)
preload_goods
preload_goods(&) preload_goods, right_join_goods right_join_goods, update(id : Int32 | 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) : Int64 update, updated_at(value)
updated_at updated_at, where_goods(assoc_query : Good::BaseQuery, auto_inner_join : Bool = true) where_goods
Constructor methods inherited from class Unit::BaseQuery
all : self
all
Class methods inherited from class Unit::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_goods(records : Enumerable, preload_query)preload_goods(record, preload_query)
preload_goods(records : Enumerable)
preload_goods(record)
preload_goods(records : Enumerable, &)
preload_goods(record, &) preload_goods, truncate(*, cascade : Bool = false) truncate