class Post::SaveOperation
- Post::SaveOperation
- Avram::SaveOperation(Post)
- Reference
- Object
Direct Known Subclasses
Defined in:
Constant Summary
-
ATTRIBUTES =
[] of Nil
-
COLUMN_ATTRIBUTES =
[{name: id, type: UUID, nilable: false, autogenerated: true, value: nil}, {name: created_at, type: Time, nilable: false, autogenerated: true, value: nil}, {name: updated_at, type: Time, nilable: false, autogenerated: true, value: nil}, {name: body, type: String, nilable: false, autogenerated: false, value: nil}] of Nil
-
OPERATION_NEEDS =
[] of Nil
Constructors
-
.new(record : T, params : Avram::Paramable, id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, body : String | Nothing = 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 | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, body : String | Nothing = 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 | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, body : String | Nothing = 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 | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, body : String | Nothing = 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 | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, body : String | Nothing = 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 | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, body : String | Nothing = 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 | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, body : String | Nothing = 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 | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, body : String | Nothing = 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 | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, body : String | Nothing = 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 | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, body : String | Nothing = 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 | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, body : String | Nothing = 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 | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, body : String | Nothing = 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
- #attributes
- #before_save
- #body
- #body=(_value)
- #created_at
- #created_at=(_value)
- #id
- #id=(_value)
- #permitted_params
- #required_attributes
-
#set_attributes(id : UUID | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, body : String | Nothing = 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_body_from_param(_value)
- #set_created_at_from_param(_value)
- #set_id_from_param(_value)
- #set_updated_at_from_param(_value)
- #set_uuid
- #updated_at
- #updated_at=(_value)
Macro Summary
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
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