Create class

Implemented types

Constructors

Create(String name, {bool ifNotExists = false})

Properties

asImmutable ImmutableCreateStatement
no setter
hashCode int
The hash code for this object.
no setterinherited
ifNotExists bool
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addAutoPrimaryInt(String name, {String? uniqueGroup}) Create
addBool(String name, {bool isNullable = false, String? uniqueGroup}) Create
addColumn(CreateColumn column) Create
addColumns(List<CreateColumn> columns) Create
addDateTime(String name, {bool isNullable = false, String? uniqueGroup}) Create
addDouble(String name, {bool isNullable = false, bool primary = false, String? foreignTable, String? foreignCol, String? uniqueGroup}) Create
addInt(String name, {bool isNullable = false, bool autoIncrement = false, bool primary = false, String? foreignTable, String? foreignCol, String? uniqueGroup}) Create
addPrimaryInt(String name, {String? foreignTable, String? foreignCol, String? uniqueGroup}) Create
addPrimaryStr(String name, {int length = 20, String? foreignTable, String? foreignCol, String? uniqueGroup}) Create
addStr(String name, {bool isNullable = false, int length = 20, bool primary = false, String? foreignTable, String? foreignCol, String? uniqueGroup}) Create
exec(Adapter adapter) Future<void>
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