enum

Marten::DB::Deletion::Strategy

Inherits Enum / Comparable / Value / Object

Constants

CASCADE = 0
DO_NOTHING = 1
PROTECT = 2
SET_NULL = 3

Instance methods

cascade?

Returns true if this enum value equals CASCADE

Source
do_nothing?

Returns true if this enum value equals DO_NOTHING

Source
protect?

Returns true if this enum value equals PROTECT

Source
set_null?

Returns true if this enum value equals SET_NULL

Source