class SaveCollectPointsTour
- SaveCollectPointsTour
- CollectPointsTour::SaveOperation
- Avram::SaveOperation(CollectPointsTour)
- Reference
- Object
Defined in:
operations/save_collect_points_tour.crConstant Summary
-
ATTRIBUTES =
[] of Nil
-
COLUMN_ATTRIBUTES =
[{name: id, type: Int32, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: collectpoint_id, type: CollectPoint::PrimaryKeyType, nilable: false, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: tour_id, type: Tour::PrimaryKeyType, nilable: false, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: id, type: Int32, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: collectpoint_id, type: CollectPoint::PrimaryKeyType, nilable: false, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: tour_id, type: Tour::PrimaryKeyType, nilable: false, autogenerated: false, value: nil, serialized: false, allow_blank: false}] of Nil
-
FOREIGN_KEY =
"collect_points_tour_id"
-
OPERATION_NEEDS =
[] of Nil
Constructors
-
.new(record : T, params : Avram::Paramable, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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.
-
.new(params : Avram::Paramable, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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.
-
.new(record : T, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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.
-
.new(id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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.
Class Method Summary
-
.create(params, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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.
-
.create(id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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.
-
.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, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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.
-
.create!(id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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.
-
.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, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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.
-
.update(record : T, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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.
-
.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, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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.
-
.update!(record : T, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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.
-
.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
- #collectpoint_id
-
#set_attributes(id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | 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.
- #tour_id
Instance methods inherited from class CollectPointsTour::SaveOperation
attributes
attributes,
collectpoint_id
collectpoint_id,
collectpoint_id=(_value)
collectpoint_id=,
id
id,
id=(_value)
id=,
permitted_params : Hash(String, Array(String) | String)
permitted_params,
required_attributes
required_attributes,
set_attributes(id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing = IGNORE)
set_attributes,
set_collectpoint_id_from_param(_value)
set_collectpoint_id_from_param,
set_id_from_param(_value)
set_id_from_param,
set_tour_id_from_param(_value)
set_tour_id_from_param,
tour_id
tour_id,
tour_id=(_value)
tour_id=
Constructor methods inherited from class CollectPointsTour::SaveOperation
new(record : T, params : Avram::Paramable, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing = IGNORE)new(params : Avram::Paramable, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing = IGNORE)
new(record : T, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing = IGNORE)
new(id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing = IGNORE) new
Class methods inherited from class CollectPointsTour::SaveOperation
create(params, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing = IGNORE, &)create(id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing = IGNORE, &)
create(params : Hash, **named_args, &) create, create!(params, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing = IGNORE)
create!(id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing = IGNORE)
create!(params : Hash, **named_args) create!, update(record : T, with params, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing = IGNORE, &)
update(record : T, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing = IGNORE, &)
update(record : T, params : Hash, **named_args, &) update, update!(record : T, with params, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing = IGNORE)
update!(record : T, id : Int32 | Avram::Nothing = IGNORE, collectpoint_id : CollectPoint::PrimaryKeyType | Avram::Nothing = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing = IGNORE)
update!(record : T, params : Hash, **named_args) update!
Macros inherited from class CollectPointsTour::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