class OrderItemQuery
- OrderItemQuery
- OrderItem::BaseQuery
- Reference
- Object
Defined in:
queries/order_item_query.crInstance Method Summary
- #amount
- #created_at
- #good_id
- #id
- #order_id
- #order_type
- #price
- #store_id
- #updated_at
- #weight_of_packaged_items
Instance methods inherited from class OrderItem::BaseQuery
amount(value)amount amount, clone clone, created_at(value)
created_at created_at, find(id) find, full_join_good full_join_good, full_join_store full_join_store, good(&) good, good_id(value)
good_id good_id, id(value)
id id, inner_join_good inner_join_good, inner_join_store inner_join_store, join_good join_good, join_store join_store, left_join_good left_join_good, left_join_store left_join_store, order_id(value)
order_id order_id, order_type(value)
order_type order_type, preload_good(preload_query : Good::BaseQuery)
preload_good
preload_good(&) preload_good, preload_order preload_order, preload_store(preload_query : Store::BaseQuery)
preload_store
preload_store(&) preload_store, price(value)
price price, right_join_good right_join_good, right_join_store right_join_store, store(&) store, store_id(value)
store_id store_id, update(id : Int32 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, store_id : Store::PrimaryKeyType | Avram::Nothing | Nil = Avram::Nothing.new, good_id : Good::PrimaryKeyType | Avram::Nothing | Nil = Avram::Nothing.new, order_type : String | Avram::Nothing = Avram::Nothing.new, order_id : Int32 | Avram::Nothing = Avram::Nothing.new, price : Float64 | Avram::Nothing = Avram::Nothing.new, weight_of_packaged_items : Float64 | Avram::Nothing = Avram::Nothing.new, amount : Int16 | Avram::Nothing = Avram::Nothing.new) : Int64 update, updated_at(value)
updated_at updated_at, weight_of_packaged_items(value)
weight_of_packaged_items weight_of_packaged_items, where_good(assoc_query : Good::BaseQuery, auto_inner_join : Bool = true) where_good, where_store(assoc_query : Store::BaseQuery, auto_inner_join : Bool = true) where_store
Constructor methods inherited from class OrderItem::BaseQuery
all : self
all
Class methods inherited from class OrderItem::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_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, preload_store(records : Enumerable, preload_query)
preload_store(record, preload_query)
preload_store(records : Enumerable)
preload_store(record)
preload_store(records : Enumerable, &)
preload_store(record, &) preload_store, truncate(*, cascade : Bool = false) truncate