ColumnDefinition class final
Column identity, storage constraints and literal default.
Constructors
- ColumnDefinition({required String name, required String field, required ScalarType type, bool nullable = false, bool primaryKey = false, bool identity = false, bool unique = false, Object? defaultValue, ForeignKey? references})
-
const
Properties
- defaultValue → Object?
-
final
- field → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- identity → bool
-
final
- name → String
-
final
- nullable → bool
-
final
- primaryKey → bool
-
final
- references → ForeignKey?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → ScalarType
-
final
- unique → bool
-
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