class SavePaper
- SavePaper
- Paper::SaveOperation
- Avram::SaveOperation(Paper)
- Reference
- Object
Defined in:
operations/save_paper.crConstant Summary
-
ATTRIBUTES =
[] of Nil
-
COLUMN_ATTRIBUTES =
[{name: id, type: UUID, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: created_at, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: updated_at, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: name, type: String, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: summary, type: String, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: published_year, type: Int32, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: published_month, type: Int32, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: published_day, type: Int32, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: recorded_species, type: Array(String), nilable: false, autogenerated: false, value: [] of String, serialized: false}, {name: used_specimens, type: Array(String), nilable: false, autogenerated: false, value: [] of String, serialized: false}, {name: links, type: Array(String), nilable: false, autogenerated: false, value: [] of String, serialized: false}, {name: id, type: UUID, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: created_at, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: updated_at, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: name, type: String, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: summary, type: String, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: published_year, type: Int32, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: published_month, type: Int32, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: published_day, type: Int32, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: recorded_species, type: Array(String), nilable: false, autogenerated: false, value: [] of String, serialized: false}, {name: used_specimens, type: Array(String), nilable: false, autogenerated: false, value: [] of String, serialized: false}, {name: links, type: Array(String), nilable: false, autogenerated: false, value: [] of String, serialized: false}] of Nil
-
FOREIGN_KEY =
"paper_id"
-
OPERATION_NEEDS =
[] of Nil
Constructors
-
.new(record : T, params : Avram::Paramable, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
.new(params : Avram::Paramable, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
.new(record : T, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
.new(id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
.new(record : T, params : Avram::Paramable, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
.new(params : Avram::Paramable, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
.new(record : T, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
.new(id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
Class Method Summary
-
.create(params, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
.create(id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
.create(params, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
.create(id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
.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 : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
.create!(id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
.create!(params, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
.create!(id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
.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 : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
.update(record : T, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
.update(record : T, with params, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
.update(record : T, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
.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 : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
.update!(record : T, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
.update!(record : T, with params, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
.update!(record : T, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
.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.
Instance Method Summary
-
#links
To save user provided params to the database, you must permit them https://luckyframework.org/guides/database/saving-records#perma-permitting-columns
-
#name
To save user provided params to the database, you must permit them https://luckyframework.org/guides/database/saving-records#perma-permitting-columns
-
#published_day
To save user provided params to the database, you must permit them https://luckyframework.org/guides/database/saving-records#perma-permitting-columns
-
#published_month
To save user provided params to the database, you must permit them https://luckyframework.org/guides/database/saving-records#perma-permitting-columns
-
#published_year
To save user provided params to the database, you must permit them https://luckyframework.org/guides/database/saving-records#perma-permitting-columns
-
#recorded_species
To save user provided params to the database, you must permit them https://luckyframework.org/guides/database/saving-records#perma-permitting-columns
-
#set_attributes(id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
#set_attributes(id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = 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.
-
#summary
To save user provided params to the database, you must permit them https://luckyframework.org/guides/database/saving-records#perma-permitting-columns
-
#used_specimens
To save user provided params to the database, you must permit them https://luckyframework.org/guides/database/saving-records#perma-permitting-columns
Macro Summary
Instance methods inherited from class Paper::SaveOperation
attributes
attributes,
created_at
created_at,
created_at=(_value)
created_at=,
id
id,
id=(_value)
id=,
links
links,
links=(_value)
links=,
name
name,
name=(_value)
name=,
permitted_params
permitted_params,
published_day
published_day,
published_day=(_value)
published_day=,
published_month
published_month,
published_month=(_value)
published_month=,
published_year
published_year,
published_year=(_value)
published_year=,
recorded_species
recorded_species,
recorded_species=(_value)
recorded_species=,
required_attributes
required_attributes,
set_attributes(id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new)
set_attributes,
set_created_at_from_param(_value)
set_created_at_from_param,
set_id_from_param(_value)
set_id_from_param,
set_links_from_param(_value : Array(String))
set_links_from_param,
set_name_from_param(_value)
set_name_from_param,
set_published_day_from_param(_value)
set_published_day_from_param,
set_published_month_from_param(_value)
set_published_month_from_param,
set_published_year_from_param(_value)
set_published_year_from_param,
set_recorded_species_from_param(_value : Array(String))
set_recorded_species_from_param,
set_summary_from_param(_value)
set_summary_from_param,
set_updated_at_from_param(_value)
set_updated_at_from_param,
set_used_specimens_from_param(_value : Array(String))
set_used_specimens_from_param,
summary
summary,
summary=(_value)
summary=,
updated_at
updated_at,
updated_at=(_value)
updated_at=,
used_specimens
used_specimens,
used_specimens=(_value)
used_specimens=
Constructor methods inherited from class Paper::SaveOperation
new(record : T, params : Avram::Paramable, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new)new(params : Avram::Paramable, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new)
new(record : T, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new)
new(id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new) new
Class methods inherited from class Paper::SaveOperation
create(params, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new, &)create(id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new, &)
create(params : Hash, **named_args, &) create, create!(params, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new)
create!(id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new)
create!(params : Hash, **named_args) create!, update(record : T, with params, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new, &)
update(record : T, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new, &)
update(record : T, params : Hash, **named_args, &) update, update!(record : T, with params, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new)
update!(record : T, id : UUID | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, name : String | Avram::Nothing = Avram::Nothing.new, summary : String | Avram::Nothing = Avram::Nothing.new, published_year : Int32 | Avram::Nothing = Avram::Nothing.new, published_month : Int32 | Avram::Nothing = Avram::Nothing.new, published_day : Int32 | Avram::Nothing = Avram::Nothing.new, recorded_species : Array(String) | Avram::Nothing = Avram::Nothing.new, used_specimens : Array(String) | Avram::Nothing = Avram::Nothing.new, links : Array(String) | Avram::Nothing = Avram::Nothing.new)
update!(record : T, params : Hash, **named_args) update!
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
@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
@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
Instance Method Detail
To save user provided params to the database, you must permit them https://luckyframework.org/guides/database/saving-records#perma-permitting-columns
To save user provided params to the database, you must permit them https://luckyframework.org/guides/database/saving-records#perma-permitting-columns
To save user provided params to the database, you must permit them https://luckyframework.org/guides/database/saving-records#perma-permitting-columns
To save user provided params to the database, you must permit them https://luckyframework.org/guides/database/saving-records#perma-permitting-columns
To save user provided params to the database, you must permit them https://luckyframework.org/guides/database/saving-records#perma-permitting-columns
To save user provided params to the database, you must permit them https://luckyframework.org/guides/database/saving-records#perma-permitting-columns
@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
To save user provided params to the database, you must permit them https://luckyframework.org/guides/database/saving-records#perma-permitting-columns
To save user provided params to the database, you must permit them https://luckyframework.org/guides/database/saving-records#perma-permitting-columns