class StoreOrderQuery

Defined in:

queries/store_order_query.cr

Instance Method Summary

Instance methods inherited from class StoreOrder::BaseQuery

clone clone, created_at(value)
created_at
created_at
, delivered_at(value)
delivered_at
delivered_at
, find(id) find, full_join_store full_join_store, full_join_user full_join_user, id(value)
id
id
, inner_join_store inner_join_store, inner_join_user inner_join_user, join_store join_store, join_user join_user, left_join_store left_join_store, left_join_user left_join_user, planned_delivery_date(value)
planned_delivery_date
planned_delivery_date
, preload_store(preload_query : Store::BaseQuery)
preload_store
preload_store(&)
preload_store
, preload_user(preload_query : User::BaseQuery)
preload_user
preload_user(&)
preload_user
, right_join_store right_join_store, right_join_user right_join_user, store(&) store, store_id(value)
store_id
store_id
, total_cost(value)
total_cost
total_cost
, total_weight(value)
total_weight
total_weight
, 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 = Avram::Nothing.new, user_id : User::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, planned_delivery_date : Time | Avram::Nothing | Nil = Avram::Nothing.new, delivered_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, total_cost : Float64 | Avram::Nothing = Avram::Nothing.new, total_weight : Float64 | Avram::Nothing = Avram::Nothing.new) : Int64 update, updated_at(value)
updated_at
updated_at
, user(&) user, user_id(value)
user_id
user_id
, where_store(assoc_query : Store::BaseQuery, auto_inner_join : Bool = true) where_store, where_user(assoc_query : User::BaseQuery, auto_inner_join : Bool = true) where_user

Constructor methods inherited from class StoreOrder::BaseQuery

all : self all

Class methods inherited from class StoreOrder::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_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
, preload_user(records : Enumerable, preload_query)
preload_user(record, preload_query)
preload_user(records : Enumerable)
preload_user(record)
preload_user(records : Enumerable, &)
preload_user(record, &)
preload_user
, truncate(*, cascade : Bool = false) truncate

Instance Method Detail

def created_at #

def delivered_at #

def id #

def planned_delivery_date #

def store_id #

def total_cost #

def total_weight #

def updated_at #

def user_id #