CreateViewStatement class final

Represents a CREATE VIEW statement in SQL.

Inheritance

Constructors

CreateViewStatement(GeneratedView<Object, GeneratedView<Object, dynamic>> entity, {bool ifNotExists = false})
Create a statement that will CREATE the entity when 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 add method 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