ColumnEnum<E extends Enum> class
A Column holding an enum.
- Inheritance
- Implementers
Constructors
- ColumnEnum(String columnName, Table table, EnumSerialization serialized, {bool hasDefault, String fieldName})
-
Creates a new Column, this is typically done in generated code only.
factory
Properties
- columnName → String
-
Name of the Column.
no setterinherited
- fieldName → String
-
Name of the field in the model
no setterinherited
- fieldQueryAlias → String
-
Field name alias for the Column to be used in queries.
no setterinherited
- hasDefault → bool
-
flag to tell if this Column has any
defaultvaluefinalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- queryAlias → String
-
Query alias for the Column.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- table → Table
-
Table that column belongs to.
finalinherited
- type → Type
-
Corresponding dart Type.
finalinherited
Methods
-
equals(
E? value) → Expression -
Creates an Expression checking if the value in the column equals the
specified value.
inherited
-
inSet(
Set< E?> values) → Expression -
Creates an Expression checking membership in
values. An empty set matches no rows. A set containing null also matches rows where the column is null, including columns of an absent joined row.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notEquals(
E? value) → Expression -
Creates an Expression checking if the value in the column does not equal
the specified value.
inherited
-
notInSet(
Set< E?> values) → Expression -
Creates an Expression checking non-membership in
values. An empty set matches all rows. Rows where the column is null are included unlessvaluescontains null, in which case they are excluded.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited