InsertColumn class
Creates a new SQLite column in a table
- Inheritance
-
- Object
- MigrationCommand
- InsertColumn
Constructors
Properties
- autoincrement → bool
-
Column has
AUTOINCREMENT
. Must be type ofint
. Defaultsfalse
.final - defaultValue → dynamic
-
DEFAULT
value when insertion is null. Must be a Dart primitive.final - definition → String
-
no setter
- definitionType → Column
-
final
- down → MigrationCommand
-
Outputs the opposite command to be used in a generator
no setteroverride
- forGenerator → String
-
Outputs model as String to be used in a generator
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
- nullable → bool
-
Column can be
NULL
. Defaultstrue
.final - onTable → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statement → String
-
Outputs statement to be interpreted by SQLite
no setteroverride
- unique → bool
-
Column has
UNIQUE
constraint. Defaultsfalse
.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Alias for statement
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaults → const InsertColumn