class SaveCustomTaxon
- SaveCustomTaxon
- CustomTaxon::SaveOperation
- Avram::SaveOperation(CustomTaxon)
- Reference
- Object
Defined in:
operations/save_custom_taxon.crConstant Summary
-
ATTRIBUTES =
[] of Nil
-
COLUMN_ATTRIBUTES =
[{name: taxon_ptr_id, type: UUID, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: is_private, type: Bool, nilable: false, autogenerated: false, value: true, serialized: false, allow_blank: false}, {name: user_id, type: Int32, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: taxon_ptr_id, type: UUID, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: is_private, type: Bool, nilable: false, autogenerated: false, value: true, serialized: false, allow_blank: false}, {name: user_id, type: Int32, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}] of Nil
-
FOREIGN_KEY =
"custom_taxon_id"
-
OPERATION_NEEDS =
[] of Nil
Constructors
-
.new(record : T, params : Avram::Paramable, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.new(params : Avram::Paramable, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.new(record : T, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.new(taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
Class Method Summary
-
.create(params, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, &)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.create(taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, &)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.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.
-
.create!(params, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.create!(taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.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.
-
.update(record : T, with params, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, &)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.update(record : T, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, &)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.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.
-
.update!(record : T, with params, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.update!(record : T, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
-
.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.
Macro Summary
Instance Method Summary
-
#set_attributes(taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE)
@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted.
- #taxon_ptr_id
- #user_id
Instance methods inherited from class CustomTaxon::SaveOperation
attributes
attributes,
is_private
is_private,
is_private=(_value)
is_private=,
permitted_params : Hash(String, Array(String) | String)
permitted_params,
required_attributes
required_attributes,
set_attributes(taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE)
set_attributes,
set_is_private_from_param(_value)
set_is_private_from_param,
set_taxon_ptr_id_from_param(_value)
set_taxon_ptr_id_from_param,
set_user_id_from_param(_value)
set_user_id_from_param,
taxon_ptr_id
taxon_ptr_id,
taxon_ptr_id=(_value)
taxon_ptr_id=,
user_id
user_id,
user_id=(_value)
user_id=
Constructor methods inherited from class CustomTaxon::SaveOperation
new(record : T, params : Avram::Paramable, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE)new(params : Avram::Paramable, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE)
new(record : T, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE)
new(taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE) new
Class methods inherited from class CustomTaxon::SaveOperation
create(params, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, &)create(taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, &)
create(params : Hash, **named_args, &) create, create!(params, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE)
create!(taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE)
create!(params : Hash, **named_args) create!, update(record : T, with params, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, &)
update(record : T, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, &)
update(record : T, params : Hash, **named_args, &) update, update!(record : T, with params, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE)
update!(record : T, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE)
update!(record : T, params : Hash, **named_args) update!
Macros inherited from class CustomTaxon::SaveOperation
param_key(key)
param_key
Constructor Detail
@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
@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
@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
@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 Method Detail
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
Macro Detail
Instance Method Detail
@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