class UserQuery
- UserQuery
- User::BaseQuery
- Reference
- Object
Defined in:
queries/user_query.crInstance Method Summary
Instance methods inherited from class User::BaseQuery
clone
clone,
created_at(value)created_at created_at, email(value)
email email, encrypted_password(value)
encrypted_password encrypted_password, find(id) find, full_join_merchant full_join_merchant, id(value)
id id, inner_join_merchant inner_join_merchant, join_merchant join_merchant, left_join_merchant left_join_merchant, merchant(&) merchant, preload_merchant(preload_query : Merchant::BaseQuery)
preload_merchant preload_merchant, right_join_merchant right_join_merchant, update(id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, email : String | Nothing = Nothing.new, encrypted_password : String | Nothing = Nothing.new) : Int64 update, updated_at(value)
updated_at updated_at, where_merchant(assoc_query : Merchant::BaseQuery, auto_inner_join : Bool = true) where_merchant
Class methods inherited from class User::BaseQuery
all
all,
find(id)
find,
first
first,
first?
first?,
last
last,
last?
last?,
new_with_existing_query(query : Avram::QueryBuilder)
new_with_existing_query,
preload_merchant(records : Enumerable, preload_query)preload_merchant(record, preload_query)
preload_merchant(records : Enumerable)
preload_merchant(record)
preload_merchant(records : Enumerable, &)
preload_merchant(record, &) preload_merchant, truncate truncate