class GroupQuery

Defined in:

queries/group_query.cr

Instance Method Summary

Instance methods inherited from class Group::BaseQuery

clone clone, created_at(value)
created_at
created_at
, find(id) find, full_join_memberships full_join_memberships, full_join_users full_join_users, id(value)
id
id
, inner_join_memberships inner_join_memberships, inner_join_users inner_join_users, join_memberships join_memberships, join_users join_users, left_join_memberships left_join_memberships, left_join_users left_join_users, memberships(&) memberships, preload_memberships(preload_query : Membership::BaseQuery)
preload_memberships
preload_memberships(&)
preload_memberships
, preload_users(preload_query : User::BaseQuery)
preload_users
preload_users(&)
preload_users
, right_join_memberships right_join_memberships, right_join_users right_join_users, title(value)
title
title
, update(id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, title : String | Avram::Nothing = Avram::Nothing.new) : Int64 update, updated_at(value)
updated_at
updated_at
, users(&) users, where_memberships(assoc_query : Membership::BaseQuery, auto_inner_join : Bool = true) where_memberships, where_users(assoc_query : User::BaseQuery, auto_inner_join : Bool = true) where_users

Constructor methods inherited from class Group::BaseQuery

all : self all

Class methods inherited from class Group::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_memberships(records : Enumerable, preload_query)
preload_memberships(record, preload_query)
preload_memberships(records : Enumerable)
preload_memberships(record)
preload_memberships(records : Enumerable, &)
preload_memberships(record, &)
preload_memberships
, preload_users(records : Enumerable, preload_query)
preload_users(record, preload_query)
preload_users(records : Enumerable)
preload_users(record)
preload_users(records : Enumerable, &)
preload_users(record, &)
preload_users
, truncate(*, cascade : Bool = false) truncate

Instance Method Detail

def contains_user?(group_id : Int64, user_id : Int64) #

[View source]
def created_at #

def id #

def title #

def updated_at #