Create class

Implemented types

Constructors

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

Properties

asImmutable ImmutableCreateStatement
read-only
ifNotExists → bool
final
name → String
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

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 non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited