CreateTable class
Operation to create a new table.
- Inheritance
-
- Object
- DiffOperation
- CreateTable
Constructors
- CreateTable(TableInfo table, {bool ifNotExists = false})
-
Operation to create a new table.
const
-
CreateTable.fromMap(Map<
String, dynamic> map) -
Creates a CreateTable from a map representation.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ifNotExists → bool
-
When true, an already existing table with this name is left alone
instead of failing the create.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- table → TableInfo
-
The table to create, in full.
final
Methods
-
describe(
) → String -
Returns a human-readable description of the operation.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
Converts this operation to a map representation for serialization.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited