class UserOrderQuery

Included Modules

Defined in:

queries/user_order_query.cr

Instance Method Summary

Instance methods inherited from module PolymorphicWhere

polymorphic_where_in(assoc_name : String | Symbol, type : String, ids : Array(Int32)) polymorphic_where_in

Instance methods inherited from class UserOrder::BaseQuery

clone clone, created_at(value)
created_at
created_at
, delivered_at(value)
delivered_at
delivered_at
, delivery_point_id(value)
delivery_point_id
delivery_point_id
, delivery_point_type(value)
delivery_point_type
delivery_point_type
, earned_bonuses(value)
earned_bonuses
earned_bonuses
, earned_bonuses_state(value)
earned_bonuses_state
earned_bonuses_state
, find(id) find, id(value)
id
id
, planned_delivery_date(value)
planned_delivery_date
planned_delivery_date
, planned_delivery_time_interval(value)
planned_delivery_time_interval
planned_delivery_time_interval
, preload_delivery_point preload_delivery_point, 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, delivery_point_type : String | Avram::Nothing = Avram::Nothing.new, delivery_point_id : Int32 | 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, planned_delivery_time_interval : Int16 | Avram::Nothing | Nil = Avram::Nothing.new, used_bonuses : Int16 | Avram::Nothing = Avram::Nothing.new, earned_bonuses : Int16 | Avram::Nothing = Avram::Nothing.new, earned_bonuses_state : Int16 | Avram::Nothing = Avram::Nothing.new) : Int64 update, updated_at(value)
updated_at
updated_at
, used_bonuses(value)
used_bonuses
used_bonuses

Constructor methods inherited from class UserOrder::BaseQuery

all : self all

Class methods inherited from class UserOrder::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?, truncate(*, cascade : Bool = false) truncate

Instance Method Detail

def created_at #

def delivered_at #

def delivery_point(address : Array(Int32), store : Array(Int32)) #

[View source]
def delivery_point_id #

def delivery_point_type #

def earned_bonuses #

def earned_bonuses_state #

def id #

def planned_delivery_date #

def planned_delivery_time_interval #

def total_cost #

def total_weight #

def updated_at #

def used_bonuses #