class UserOrderQuery

Defined in:

queries/user_order_query.cr

Instance Method Summary

Instance methods inherited from class UserOrder::BaseQuery

clone clone, created_at(value)
created_at
created_at
, find(id) find, full_join_bonus_log full_join_bonus_log, full_join_user full_join_user, id(value)
id
id
, inner_join_bonus_log inner_join_bonus_log, inner_join_user inner_join_user, join_bonus_log join_bonus_log, join_user join_user, left_join_bonus_log left_join_bonus_log, left_join_user left_join_user, preload_bonus_log(preload_query : BonusLog::BaseQuery) : self
preload_bonus_log : self
preload_bonus_log
, preload_user(preload_query : User::BaseQuery) : self
preload_user : self
preload_user(&) : self
preload_user
, price(value)
price
price
, product(value)
product
product
, right_join_bonus_log right_join_bonus_log, right_join_user right_join_user, update(id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, user_id : User::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, product : String | Avram::Nothing = Avram::Nothing.new, price : Float64 | Avram::Nothing = Avram::Nothing.new) : Int64 update, updated_at(value)
updated_at
updated_at
, user_id(value)
user_id
user_id
, where_bonus_log(assoc_query : BonusLog::BaseQuery, auto_inner_join : Bool = true) where_bonus_log, where_user(assoc_query : User::BaseQuery, auto_inner_join : Bool = true) where_user

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?, preload_bonus_log(record : UserOrder, force : Bool = false) : UserOrder
preload_bonus_log(record : UserOrder, force : Bool = false, &) : UserOrder
preload_bonus_log(record : UserOrder, preload_query : BonusLog::BaseQuery, force : Bool = false) : UserOrder
preload_bonus_log(records : Enumerable(UserOrder), force : Bool = false) : Array(UserOrder)
preload_bonus_log(records : Enumerable(UserOrder), force : Bool = false, &) : Array(UserOrder)
preload_bonus_log(records : Enumerable(UserOrder), preload_query : BonusLog::BaseQuery, force : Bool = false) : Array(UserOrder)
preload_bonus_log
, preload_user(record : UserOrder, force : Bool = false) : UserOrder
preload_user(record : UserOrder, force : Bool = false, &) : UserOrder
preload_user(record : UserOrder, preload_query : User::BaseQuery, force : Bool = false) : UserOrder
preload_user(records : Enumerable(UserOrder), force : Bool = false) : Array(UserOrder)
preload_user(records : Enumerable(UserOrder), force : Bool = false, &) : Array(UserOrder)
preload_user(records : Enumerable(UserOrder), preload_query : User::BaseQuery, force : Bool = false) : Array(UserOrder)
preload_user
, truncate(*, cascade : Bool = false) truncate

Instance Method Detail

def created_at #

def id #

def price #

def product #
Description copied from module Enumerable(UserOrder)

Multiplies all the elements in the collection together.

Expects all element types to respond to #* method.

[1, 2, 3, 4, 5, 6].product # => 720

This method calls .multiplicative_identity on the element type to determine the type of the sum value.

If the collection is empty, returns multiplicative_identity.

([] of Int32).product # => 1

def updated_at #

def user_id #