class UserQuery

Defined in:

queries/user_query.cr

Class Method Summary

Instance Method Summary

Instance methods inherited from class User::BaseQuery

clone clone, created_at(value)
created_at
created_at
, email(value)
email
email
, find(id) find, full_join_bonus_account full_join_bonus_account, full_join_user_orders full_join_user_orders, id(value)
id
id
, inner_join_bonus_account inner_join_bonus_account, inner_join_user_orders inner_join_user_orders, join_bonus_account join_bonus_account, join_user_orders join_user_orders, left_join_bonus_account left_join_bonus_account, left_join_user_orders left_join_user_orders, preload_bonus_account(preload_query : BonusAccount::BaseQuery) : self
preload_bonus_account : self
preload_bonus_account
, preload_user_orders(preload_query : UserOrder::BaseQuery) : self
preload_user_orders : self
preload_user_orders(&) : self
preload_user_orders
, right_join_bonus_account right_join_bonus_account, right_join_user_orders right_join_user_orders, update(id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new) : Int64 update, updated_at(value)
updated_at
updated_at
, where_bonus_account(assoc_query : BonusAccount::BaseQuery, auto_inner_join : Bool = true) where_bonus_account, where_user_orders(assoc_query : UserOrder::BaseQuery, auto_inner_join : Bool = true) where_user_orders

Constructor methods inherited from class User::BaseQuery

all : self all

Class methods inherited from class User::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_account(record : User, force : Bool = false) : User
preload_bonus_account(record : User, force : Bool = false, &) : User
preload_bonus_account(record : User, preload_query : BonusAccount::BaseQuery, force : Bool = false) : User
preload_bonus_account(records : Enumerable(User), force : Bool = false) : Array(User)
preload_bonus_account(records : Enumerable(User), force : Bool = false, &) : Array(User)
preload_bonus_account(records : Enumerable(User), preload_query : BonusAccount::BaseQuery, force : Bool = false) : Array(User)
preload_bonus_account
, preload_user_orders(record : User, force : Bool = false) : User
preload_user_orders(record : User, force : Bool = false, &) : User
preload_user_orders(record : User, preload_query : UserOrder::BaseQuery, force : Bool = false) : User
preload_user_orders(records : Enumerable(User), force : Bool = false) : Array(User)
preload_user_orders(records : Enumerable(User), force : Bool = false, &) : Array(User)
preload_user_orders(records : Enumerable(User), preload_query : UserOrder::BaseQuery, force : Bool = false) : Array(User)
preload_user_orders
, truncate(*, cascade : Bool = false) truncate

Class Method Detail

def self.random #

[View source]

Instance Method Detail

def created_at #

def email #

def id #

def updated_at #