A statement that creates a DatabaseSchemaEntity (such as tables, views, triggers or indices).
- Inheritance
-
- Object
- SqlStatement
- CreateStatement
Properties
-
dialectSpecificOptions
→ Map<
Symbol, Object?> -
A map of dialect-specific options.
finalinherited
- entity → T
-
The table, view, trigger or index to create.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- ifNotExists → bool
-
Whether the entity should only be created if it doesn't exist alredy.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compileWith(
StatementCompiler compiler) → void -
Compiles this component with the given StatementCompiler by invoking the
relevant
addmethod on it.inherited -
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
Static Methods
-
creatingElement(
DatabaseSchemaEntity entity, {bool ifNotExists = false}) → CreateStatement< DatabaseSchemaEntity> - Returns a CreateStatement subclass suitable to create the given entity.