InsertColumn class Null safety

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
read-only
definitionType Column
final
down MigrationCommand
Outputs the opposite command to be used in a generator
read-only, override
forGenerator String
Outputs model as String to be used in a generator
read-only, override
hashCode int
The hash code for this object. [...]
read-only, inherited
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.
read-only, inherited
statement String
Outputs statement to be interpreted by SQLite
read-only, override
unique bool
Column has UNIQUE constraint. Defaults false.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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
InsertColumn('PLACEHOLDER', Column.varchar, onTable: 'PLACEHOLDER', autoincrement: false, nullable: true, unique: false)