intEnum<T extends Enum> method

  1. @protected
ColumnBuilder<int> intEnum<T extends Enum>()
inherited

Creates a column to store an enum class T.

In the database, the column will be represented as an integer corresponding to the enum's index. Note that this can invalidate your data if you add another value to the enum class.

Implementation

@protected
ColumnBuilder<int> intEnum<T extends Enum>() => _isGenerated();