class UserQuery

Defined in:

queries/user_query.cr

Instance 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) : T find, full_join_leitner_boxes full_join_leitner_boxes, id(value)
id
id
, inner_join_leitner_boxes inner_join_leitner_boxes, join_leitner_boxes join_leitner_boxes, left_join_leitner_boxes left_join_leitner_boxes, preload_leitner_boxes(preload_query : LeitnerBox::BaseQuery) : self
preload_leitner_boxes : self
preload_leitner_boxes(&) : self
preload_leitner_boxes
, right_join_leitner_boxes right_join_leitner_boxes, update(id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, email : String | Avram::Nothing = Avram::Nothing.new, encrypted_password : String | Avram::Nothing = Avram::Nothing.new) : Int64 update, updated_at(value)
updated_at
updated_at
, where_leitner_boxes(assoc_query : LeitnerBox::BaseQuery, auto_inner_join : Bool = true) where_leitner_boxes

Constructor methods inherited from class User::BaseQuery

all : self all

Class methods inherited from class User::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_leitner_boxes(record : User, force : Bool = false) : User
preload_leitner_boxes(record : User, force : Bool = false, &) : User
preload_leitner_boxes(record : User, preload_query : LeitnerBox::BaseQuery, force : Bool = false) : User
preload_leitner_boxes(records : Enumerable(User), force : Bool = false) : Array(User)
preload_leitner_boxes(records : Enumerable(User), force : Bool = false, &) : Array(User)
preload_leitner_boxes(records : Enumerable(User), preload_query : LeitnerBox::BaseQuery, force : Bool = false) : Array(User)
preload_leitner_boxes
, truncate(*, cascade : Bool = false, restart_identity : Bool = false) truncate

Macros inherited from class User::BaseQuery

generate_criteria_method(name, type) generate_criteria_method

Instance Method Detail

def created_at #

def email #

def encrypted_password #

def id #

def updated_at #