Constants
COLUMN_ATTRIBUTES = [{name: id, type: UUID, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: apelido, type: String, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: nome, type: String, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: nascimento, type: Time, nilable: true, autogenerated: false, value: nil, serialized: false}, {name: stack, type: String, nilable: true, autogenerated: false, value: nil, serialized: false}] of Nil
OPERATION_NEEDS = [] of Nil
Constructors
new(record : T, params : Avram::Paramable, 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)
@type is not correct in this method, but is in the macro we call below
That is why this extrac macro was extracted. We need @type to get the
attributes for this SaveOperation
new(params : Avram::Paramable, 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)
@type is not correct in this method, but is in the macro we call below
That is why this extrac macro was extracted. We need @type to get the
attributes for this SaveOperation
new(record : T, 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)
@type is not correct in this method, but is in the macro we call below
That is why this extrac macro was extracted. We need @type to get the
attributes for this SaveOperation
new(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)
@type is not correct in this method, but is in the macro we call below
That is why this extrac macro was extracted. We need @type to get the
attributes for this SaveOperation
Class methods
create(params, 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, &)
@type is not correct in this method, but is in the macro we call below
That is why this extrac macro was extracted. We need @type to get the
attributes for this SaveOperation
create(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, &)
@type is not correct in this method, but is in the macro we call below
That is why this extrac macro was extracted. We need @type to get the
attributes for this SaveOperation
create(params : Hash, **named_args, &)
@type is not correct in this method, but is in the macro we call below
That is why this extrac macro was extracted. We need @type to get the
attributes for this SaveOperation
create!(params, 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)
@type is not correct in this method, but is in the macro we call below
That is why this extrac macro was extracted. We need @type to get the
attributes for this SaveOperation
create!(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)
@type is not correct in this method, but is in the macro we call below
That is why this extrac macro was extracted. We need @type to get the
attributes for this SaveOperation
create!(params : Hash, **named_args)
@type is not correct in this method, but is in the macro we call below
That is why this extrac macro was extracted. We need @type to get the
attributes for this SaveOperation
update(record : T, with params, 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, &)
@type is not correct in this method, but is in the macro we call below
That is why this extrac macro was extracted. We need @type to get the
attributes for this SaveOperation
update(record : T, 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, &)
@type is not correct in this method, but is in the macro we call below
That is why this extrac macro was extracted. We need @type to get the
attributes for this SaveOperation
update(record : T, params : Hash, **named_args, &)
@type is not correct in this method, but is in the macro we call below
That is why this extrac macro was extracted. We need @type to get the
attributes for this SaveOperation
update!(record : T, with params, 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)
@type is not correct in this method, but is in the macro we call below
That is why this extrac macro was extracted. We need @type to get the
attributes for this SaveOperation
update!(record : T, 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)
@type is not correct in this method, but is in the macro we call below
That is why this extrac macro was extracted. We need @type to get the
attributes for this SaveOperation
update!(record : T, params : Hash, **named_args)
@type is not correct in this method, but is in the macro we call below
That is why this extrac macro was extracted. We need @type to get the
attributes for this SaveOperation
Instance methods
set_apelido_from_param(_value)
set_attributes(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)
@type is not correct in this method, but is in the macro we call below
That is why this extrac macro was extracted. We need @type to get the
attributes for this SaveOperation
set_id_from_param(_value)
set_nascimento_from_param(_value)
set_nome_from_param(_value)
set_stack_from_param(_value)