class PessoaQuery

Defined in:

queries/pessoa_query.cr

Class Method Summary

Instance Method Summary

Instance methods inherited from class Pessoa::BaseQuery

apelido(value)
apelido
apelido
, clone clone, find(id) find, id(value)
id
id
, nascimento(value)
nascimento
nascimento
, nome(value)
nome
nome
, stack(value)
stack
stack
, update(id : UUID | Avram::Nothing = Avram::Nothing.new, apelido : String | Avram::Nothing = Avram::Nothing.new, nome : String | Avram::Nothing = Avram::Nothing.new, nascimento : Time | Avram::Nothing | Nil = Avram::Nothing.new, stack : String | Avram::Nothing | Nil = Avram::Nothing.new) : Int64 update

Constructor methods inherited from class Pessoa::BaseQuery

all : self all

Class methods inherited from class Pessoa::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?, truncate(*, cascade : Bool = false) truncate

Class Method Detail

def self.count #

[View source]
def self.find_first?(id) #

doing direct sql query just to avoid UUID.new(person_id) and then back to string for the query


[View source]
def self.search(term) #

[View source]

Instance Method Detail

def apelido #

def id #

def nascimento #

def nome #

def stack #