module Sandstone::ORM::Callbacks

Direct including types

Defined in:

sandstone/callbacks.cr

Constant Summary

CALLBACK_NAMES = [:before_save, :after_save, :before_create, :after_create, :before_update, :after_update, :before_destroy, :after_destroy] of ::Symbol

Macro Summary

Macro Detail

macro __run_after_create #

[View source]
macro __run_after_destroy #

[View source]
macro __run_after_save #

[View source]
macro __run_after_update #

[View source]
macro __run_before_create #

[View source]
macro __run_before_destroy #

[View source]
macro __run_before_save #

[View source]
macro __run_before_update #

[View source]
macro after_create(callback) #

[View source]
macro after_destroy(callback) #

[View source]
macro after_save(callback) #

[View source]
macro after_update(callback) #

[View source]
macro before_create(callback) #

[View source]
macro before_destroy(callback) #

[View source]
macro before_save(callback) #

[View source]
macro before_update(callback) #

[View source]