class

SaveDefaultTaxon

Inherits DefaultTaxon::SaveOperation < Avram::SaveOperation < Avram::AddColumnAttributes < Avram::Upsert < Avram::InheritColumnAttributes < Avram::MarkAsFailed < Avram::NestedSaveOperation < Avram::DatabaseValidations < Avram::Callbacks < Avram::NeedyInitializerAndSaveMethods < Avram::ParamKeyOverride < Avram::OperationErrors < Avram::Validations < Avram::DefineAttribute < Reference < Object

Constants

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: false, 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: false, serialized: false, allow_blank: false}] of Nil
FOREIGN_KEY = "default_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)

@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, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE)

@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, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE)

@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(taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE)

@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, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, &)

@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(taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, &)

@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, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE)

@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!(taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE)

@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, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, &)

@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, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE, &)

@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, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE)

@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, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE)

@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_attributes(taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = IGNORE)

@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

taxon_ptr_id
Source

Macros

param_key(key)