class LeitnerBoxQuery

Defined in:

queries/leitner_box_query.cr

Instance Method Summary

Instance methods inherited from class LeitnerBox::BaseQuery

clone clone, created_at(value)
created_at
created_at
, find(id) : T find, full_join_cards full_join_cards, full_join_decks full_join_decks, full_join_user full_join_user, id(value)
id
id
, inner_join_cards inner_join_cards, inner_join_decks inner_join_decks, inner_join_user inner_join_user, join_cards join_cards, join_decks join_decks, join_user join_user, left_join_cards left_join_cards, left_join_decks left_join_decks, left_join_user left_join_user, name(value)
name
name
, preload_cards(preload_query : Card::BaseQuery) : self
preload_cards : self
preload_cards(&) : self
preload_cards
, preload_decks(preload_query : Deck::BaseQuery) : self
preload_decks : self
preload_decks(&) : self
preload_decks
, preload_user(preload_query : User::BaseQuery) : self
preload_user : self
preload_user(&) : self
preload_user
, right_join_cards right_join_cards, right_join_decks right_join_decks, 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, user_id : User::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new) : Int64 update, updated_at(value)
updated_at
updated_at
, user_id(value)
user_id
user_id
, where_cards(assoc_query : Card::BaseQuery, auto_inner_join : Bool = true) where_cards, where_decks(assoc_query : Deck::BaseQuery, auto_inner_join : Bool = true) where_decks, where_user(assoc_query : User::BaseQuery, auto_inner_join : Bool = true) where_user

Constructor methods inherited from class LeitnerBox::BaseQuery

all : self all

Class methods inherited from class LeitnerBox::BaseQuery

any? : Bool any?, find(id) : T 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_cards(record : LeitnerBox, force : Bool = false) : LeitnerBox
preload_cards(record : LeitnerBox, force : Bool = false, &) : LeitnerBox
preload_cards(record : LeitnerBox, preload_query : Card::BaseQuery, force : Bool = false) : LeitnerBox
preload_cards(records : Enumerable(LeitnerBox), force : Bool = false) : Array(LeitnerBox)
preload_cards(records : Enumerable(LeitnerBox), force : Bool = false, &) : Array(LeitnerBox)
preload_cards(records : Enumerable(LeitnerBox), preload_query : Card::BaseQuery, force : Bool = false) : Array(LeitnerBox)
preload_cards
, preload_decks(record : LeitnerBox, force : Bool = false) : LeitnerBox
preload_decks(record : LeitnerBox, force : Bool = false, &) : LeitnerBox
preload_decks(record : LeitnerBox, preload_query : Deck::BaseQuery, force : Bool = false) : LeitnerBox
preload_decks(records : Enumerable(LeitnerBox), force : Bool = false) : Array(LeitnerBox)
preload_decks(records : Enumerable(LeitnerBox), force : Bool = false, &) : Array(LeitnerBox)
preload_decks(records : Enumerable(LeitnerBox), preload_query : Deck::BaseQuery, force : Bool = false) : Array(LeitnerBox)
preload_decks
, preload_user(record : LeitnerBox, force : Bool = false) : LeitnerBox
preload_user(record : LeitnerBox, force : Bool = false, &) : LeitnerBox
preload_user(record : LeitnerBox, preload_query : User::BaseQuery, force : Bool = false) : LeitnerBox
preload_user(records : Enumerable(LeitnerBox), force : Bool = false) : Array(LeitnerBox)
preload_user(records : Enumerable(LeitnerBox), force : Bool = false, &) : Array(LeitnerBox)
preload_user(records : Enumerable(LeitnerBox), preload_query : User::BaseQuery, force : Bool = false) : Array(LeitnerBox)
preload_user
, truncate(*, cascade : Bool = false, restart_identity : Bool = false) truncate

Macros inherited from class LeitnerBox::BaseQuery

generate_criteria_method(name, type) generate_criteria_method

Instance Method Detail

def card_ids(leitner_box_id) #

[View source]
def cards(leitner_box_id) #

[View source]
def created_at #

def id #

def name #

def updated_at #

def user_id #