class ChatQuery
- ChatQuery
- Chat::BaseQuery
- Reference
- Object
Defined in:
queries/chat_query.crInstance Method Summary
Instance methods inherited from class Chat::BaseQuery
clone
clone,
creator_id(value)creator_id creator_id, find(id) find, full_join_characters full_join_characters, full_join_creator full_join_creator, full_join_participants full_join_participants, id(value)
id id, inner_join_characters inner_join_characters, inner_join_creator inner_join_creator, inner_join_participants inner_join_participants, join_characters join_characters, join_creator join_creator, join_participants join_participants, left_join_characters left_join_characters, left_join_creator left_join_creator, left_join_participants left_join_participants, name(value)
name name, preload_characters(preload_query : Character::BaseQuery)
preload_characters
preload_characters(&) preload_characters, preload_creator(preload_query : User::BaseQuery)
preload_creator
preload_creator(&) preload_creator, preload_participants(preload_query : ChatParticipant::BaseQuery)
preload_participants
preload_participants(&) preload_participants, right_join_characters right_join_characters, right_join_creator right_join_creator, right_join_participants right_join_participants, update(id : UUID | Avram::Nothing = Avram::Nothing.new, creator_id : User::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing | Nil = Avram::Nothing.new) : Int64 update, where_characters(assoc_query : Character::BaseQuery, auto_inner_join : Bool = true) where_characters, where_creator(assoc_query : User::BaseQuery, auto_inner_join : Bool = true) where_creator, where_participants(assoc_query : ChatParticipant::BaseQuery, auto_inner_join : Bool = true) where_participants
Constructor methods inherited from class Chat::BaseQuery
all : self
all
Class methods inherited from class Chat::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_characters(records : Enumerable, preload_query)preload_characters(record, preload_query)
preload_characters(records : Enumerable)
preload_characters(record)
preload_characters(records : Enumerable, &)
preload_characters(record, &) preload_characters, preload_creator(records : Enumerable, preload_query)
preload_creator(record, preload_query)
preload_creator(records : Enumerable)
preload_creator(record)
preload_creator(records : Enumerable, &)
preload_creator(record, &) preload_creator, preload_participants(records : Enumerable, preload_query)
preload_participants(record, preload_query)
preload_participants(records : Enumerable)
preload_participants(record)
preload_participants(records : Enumerable, &)
preload_participants(record, &) preload_participants, truncate(*, cascade : Bool = false) truncate