Column class
Applies additional attributes to a database column.
- Implementers
Constructors
Properties
- defaultValue → dynamic
-
Specifies the default values.
final
- expression → String?
-
A custom SQL expression to execute, instead of a named column.
final
- hasExpression → bool
-
Returns
true
if expression is notnull
.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- indexType → IndexType
-
Specifies what kind of index this column is, if any.
final
- isNullable → bool
-
If
true
, a SQL field will be nullable.final - length → int
-
Specifies the length of a
VARCHAR
.final - name → String?
-
Specifies this column name.
final
- precision → int
-
Specifies the precision of a
NUMERIC
orDECIMAL
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale → int
-
Specifies the scale of a
NUMERIC
orDECIMAL
.final - timezone → String?
-
Specifies the timezone for temporal field.
final
- type → ColumnType
-
Explicitly defines a SQL type for this column.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited