CreateIndexStatement class final
Represents a CREATE INDEX statement in SQL.
- Inheritance
-
- Object
- SqlStatement
- CreateStatement<
Index> - CreateIndexStatement
Constructors
- CreateIndexStatement(Index entity, {bool ifNotExists = false})
-
Create a statement that will
CREATEtheentitywhen issued.
Properties
-
dialectSpecificOptions
→ Map<
Symbol, Object?> -
A map of dialect-specific options.
finalinherited
- entity → Index
-
The table, view, trigger or index to create.
finalinherited
- 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.
finalinherited
- 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.override -
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