class StoreQuery
- StoreQuery
- Store::BaseQuery
- Reference
- Object
Defined in:
queries/store_query.crInstance Method Summary
Instance methods inherited from class Store::BaseQuery
address(&)
address,
address_id(value)address_id address_id, address_notes(value)
address_notes address_notes, clone clone, created_at(value)
created_at created_at, find(id) find, full_join_address full_join_address, full_join_goods full_join_goods, full_join_goods_in_stores full_join_goods_in_stores, full_join_order_items full_join_order_items, full_join_store_orders full_join_store_orders, full_join_user_store_delivery_points full_join_user_store_delivery_points, goods(&) goods, goods_in_stores(&) goods_in_stores, id(value)
id id, inner_join_address inner_join_address, inner_join_goods inner_join_goods, inner_join_goods_in_stores inner_join_goods_in_stores, inner_join_order_items inner_join_order_items, inner_join_store_orders inner_join_store_orders, inner_join_user_store_delivery_points inner_join_user_store_delivery_points, join_address join_address, join_goods join_goods, join_goods_in_stores join_goods_in_stores, join_order_items join_order_items, join_store_orders join_store_orders, join_user_store_delivery_points join_user_store_delivery_points, left_join_address left_join_address, left_join_goods left_join_goods, left_join_goods_in_stores left_join_goods_in_stores, left_join_order_items left_join_order_items, left_join_store_orders left_join_store_orders, left_join_user_store_delivery_points left_join_user_store_delivery_points, name(value)
name name, order_items(&) order_items, preload_address(preload_query : Address::BaseQuery)
preload_address
preload_address(&) preload_address, preload_goods(preload_query : Good::BaseQuery)
preload_goods
preload_goods(&) preload_goods, preload_goods_in_stores(preload_query : GoodsInStore::BaseQuery)
preload_goods_in_stores
preload_goods_in_stores(&) preload_goods_in_stores, preload_order_items(preload_query : OrderItem::BaseQuery)
preload_order_items
preload_order_items(&) preload_order_items, preload_store_orders(preload_query : StoreOrder::BaseQuery)
preload_store_orders
preload_store_orders(&) preload_store_orders, preload_user_store_delivery_points(preload_query : UserStoreDeliveryPoint::BaseQuery)
preload_user_store_delivery_points
preload_user_store_delivery_points(&) preload_user_store_delivery_points, right_join_address right_join_address, right_join_goods right_join_goods, right_join_goods_in_stores right_join_goods_in_stores, right_join_order_items right_join_order_items, right_join_store_orders right_join_store_orders, right_join_user_store_delivery_points right_join_user_store_delivery_points, store_orders(&) store_orders, type(value)
type type, update(id : Int32 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, address_id : Address::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, type : Int16 | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, address_notes : String | Avram::Nothing = Avram::Nothing.new) : Int64 update, updated_at(value)
updated_at updated_at, user_store_delivery_points(&) user_store_delivery_points, where_address(assoc_query : Address::BaseQuery, auto_inner_join : Bool = true) where_address, where_goods(assoc_query : Good::BaseQuery, auto_inner_join : Bool = true) where_goods, where_goods_in_stores(assoc_query : GoodsInStore::BaseQuery, auto_inner_join : Bool = true) where_goods_in_stores, where_order_items(assoc_query : OrderItem::BaseQuery, auto_inner_join : Bool = true) where_order_items, where_store_orders(assoc_query : StoreOrder::BaseQuery, auto_inner_join : Bool = true) where_store_orders, where_user_store_delivery_points(assoc_query : UserStoreDeliveryPoint::BaseQuery, auto_inner_join : Bool = true) where_user_store_delivery_points
Constructor methods inherited from class Store::BaseQuery
all : self
all
Class methods inherited from class Store::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_address(records : Enumerable, preload_query)preload_address(record, preload_query)
preload_address(records : Enumerable)
preload_address(record)
preload_address(records : Enumerable, &)
preload_address(record, &) preload_address, 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, preload_goods_in_stores(records : Enumerable, preload_query)
preload_goods_in_stores(record, preload_query)
preload_goods_in_stores(records : Enumerable)
preload_goods_in_stores(record)
preload_goods_in_stores(records : Enumerable, &)
preload_goods_in_stores(record, &) preload_goods_in_stores, preload_order_items(records : Enumerable, preload_query)
preload_order_items(record, preload_query)
preload_order_items(records : Enumerable)
preload_order_items(record)
preload_order_items(records : Enumerable, &)
preload_order_items(record, &) preload_order_items, preload_store_orders(records : Enumerable, preload_query)
preload_store_orders(record, preload_query)
preload_store_orders(records : Enumerable)
preload_store_orders(record)
preload_store_orders(records : Enumerable, &)
preload_store_orders(record, &) preload_store_orders, preload_user_store_delivery_points(records : Enumerable, preload_query)
preload_user_store_delivery_points(record, preload_query)
preload_user_store_delivery_points(records : Enumerable)
preload_user_store_delivery_points(record)
preload_user_store_delivery_points(records : Enumerable, &)
preload_user_store_delivery_points(record, &) preload_user_store_delivery_points, truncate(*, cascade : Bool = false) truncate