abstract class Avram::SaveOperation(T)
- Avram::SaveOperation(T)
- Reference
- Object
Defined in:
charms.crInstance Method Summary
- #record!
-
#save : Bool
Patched to ensure callbacks run for update operations even if no column attributes changed.
-
#valid? : Bool
Getting rid of default validations in Avram
Instance Method Detail
def save : Bool
#
Patched to ensure callbacks run for update operations even if no column attributes changed.
Also to ensure operation is marked as failed if a nested operation rolls back a database transaction
def valid? : Bool
#
Getting rid of default validations in Avram
See https://github.com/luckyframework/lucky/discussions/1209#discussioncomment-46030
All operations are expected to explicitly define any validations needed