class GoodsCategoryQuery
- GoodsCategoryQuery
- GoodsCategory::BaseQuery
- Reference
- Object
Defined in:
queries/goods_category_query.crInstance Method Summary
Instance methods inherited from class GoodsCategory::BaseQuery
category(&)
category,
category_id(value)category_id category_id, clone clone, created_at(value)
created_at created_at, find(id) find, full_join_category full_join_category, full_join_good full_join_good, good(&) good, good_id(value)
good_id good_id, id(value)
id id, inner_join_category inner_join_category, inner_join_good inner_join_good, join_category join_category, join_good join_good, left_join_category left_join_category, left_join_good left_join_good, preload_category(preload_query : Category::BaseQuery)
preload_category
preload_category(&) preload_category, preload_good(preload_query : Good::BaseQuery)
preload_good
preload_good(&) preload_good, right_join_category right_join_category, right_join_good right_join_good, update(id : Int32 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, good_id : Good::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, category_id : Category::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new) : Int64 update, updated_at(value)
updated_at updated_at, where_category(assoc_query : Category::BaseQuery, auto_inner_join : Bool = true) where_category, where_good(assoc_query : Good::BaseQuery, auto_inner_join : Bool = true) where_good
Constructor methods inherited from class GoodsCategory::BaseQuery
all : self
all
Class methods inherited from class GoodsCategory::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_category(records : Enumerable, preload_query)preload_category(record, preload_query)
preload_category(records : Enumerable)
preload_category(record)
preload_category(records : Enumerable, &)
preload_category(record, &) preload_category, preload_good(records : Enumerable, preload_query)
preload_good(record, preload_query)
preload_good(records : Enumerable)
preload_good(record)
preload_good(records : Enumerable, &)
preload_good(record, &) preload_good, truncate(*, cascade : Bool = false) truncate