InsertColumn class

Creates a new SQLite column in a table

Inheritance

Constructors

InsertColumn(String name, Column definitionType, {required String onTable, dynamic defaultValue, bool autoincrement = false, bool nullable = true, bool unique = false})
const

Properties

autoincrement bool
Column has AUTOINCREMENT. Must be type of int. Defaults false.
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. Defaults true.
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. Defaults false.
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