Top Level Namespace
Defined in:
Macro Summary
-
__enum(enum_name, &block)
There's
avram_enum
, but that saves the enum value asInt32
in the database.
Macro Detail
macro __enum(enum_name, &block)
#
There's avram_enum
, but that saves the enum value as
Int32
in the database. The problem is, enum member values are
order-dependent -- the values change when the member ordering
changes.
Besides, you couldn't make sense of the numbers if you peeked into the database