CreateViewStatement class final
Represents a CREATE VIEW statement in SQL.
- Inheritance
-
- Object
- SqlStatement
- CreateStatement<
GeneratedView< Object, GeneratedView< >Object, dynamic> > - CreateViewStatement
Constructors
-
CreateViewStatement(GeneratedView<
Object, GeneratedView< entity, {bool ifNotExists = false})Object, dynamic> > -
Create a statement that will
CREATEtheentitywhen issued.
Properties
-
dialectSpecificOptions
→ Map<
Symbol, Object?> -
A map of dialect-specific options.
finalinherited
-
entity
→ GeneratedView<
Object, GeneratedView< Object, dynamic> > -
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