class MembershipQuery
- MembershipQuery
- Membership::BaseQuery
- Reference
- Object
Defined in:
queries/membership_query.crClass Method Summary
Instance Method Summary
Instance methods inherited from class Membership::BaseQuery
clone
clone,
created_at(value)created_at created_at, find(id) find, full_join_group full_join_group, full_join_user full_join_user, group(&) group, group_id(value)
group_id group_id, id(value)
id id, inner_join_group inner_join_group, inner_join_user inner_join_user, join_group join_group, join_user join_user, left_join_group left_join_group, left_join_user left_join_user, preload_group(preload_query : Group::BaseQuery)
preload_group
preload_group(&) preload_group, preload_user(preload_query : User::BaseQuery)
preload_user
preload_user(&) preload_user, right_join_group right_join_group, 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, group_id : Group::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, user_id : User::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new) : Int64 update, updated_at(value)
updated_at updated_at, user(&) user, user_id(value)
user_id user_id, where_group(assoc_query : Group::BaseQuery, auto_inner_join : Bool = true) where_group, where_user(assoc_query : User::BaseQuery, auto_inner_join : Bool = true) where_user
Constructor methods inherited from class Membership::BaseQuery
all : self
all
Class methods inherited from class Membership::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_group(records : Enumerable, preload_query)preload_group(record, preload_query)
preload_group(records : Enumerable)
preload_group(record)
preload_group(records : Enumerable, &)
preload_group(record, &) preload_group, 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