primary_key_name(*args, **options)
SourceAvram::DeleteOperation(T)
Inherits Avram::AddColumnAttributes < Avram::InheritColumnAttributes < Avram::DeleteCallbacks < Avram::AfterCommitCallback < Avram::CallbackHelpers < Avram::ParamKeyOverride < Avram::OperationErrors < Avram::Validations < Avram::DefineAttribute < Avram::NeedyInitializerAndDeleteMethods < Reference < Object
Constants
ATTRIBUTES = [] of Nil
OPERATION_NEEDS = [] of Nil
Class methods
param_key
SourceInstance methods
after_commit(_record : T)
Sourceafter_delete(_record : T)
Sourcebefore_delete
Sourcecustom_errors
database
A helper method to backfill accessing the database before they were split in to read/write methods
delete
Sourcedelete!
Sourcemark_as_deleted
Sourcemark_as_failed
Sourceprimary_key_name(*args, **options, &)
Sourcetable_name(*args, **options)
Sourcetable_name(*args, **options, &)
Sourcewrite_database(*args, **options)
Sourcewrite_database(*args, **options, &)
SourceMacros
param_key(key)