MiscStatementSubScope class

A rarely used sub-scope for AST nodes that belong to a statement, but may have access to more result sets.

For instance, the body of an ON CONFLICT DO UPDATE-clause may refer to a table alias excluded to get access to a conflicting table.

Inheritance

Constructors

MiscStatementSubScope(StatementScope parent)

Properties

additionalResultSets Map<String?, ResultSetAvailableInStatement>
final
expansionOfStarColumn List<Column>?
The list of column to which a * would expand to.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
parent StatementScope
final
resultSetAvailableToChildScopes Iterable<ResultSetAvailableInStatement>
All available result sets that can also be seen in child scopes.
no setterinherited
rootScope RootScope
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addAlias(AstNode origin, ResultSet resultSet, String alias, {bool canUseUnqualifiedColumns = true}) → void
Registers a ResultSetAvailableInStatement to a TableAlias for the given resultSet.
inherited
addResolvedResultSet(String? name, ResultSetAvailableInStatement resultSet) → void
Adds an added result set to this scope.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveResultSetForReference(String name) ResultSetAvailableInStatement?
Attempts to find a result set that has been added to this scope, for instance because it was introduced in a FROM clause.
override
resolveResultSetToAdd(String name) ResultSet?
Attempts to find a result set that can be added to a scope.
inherited
resolveUnqualifiedReference(String columnName, {bool allowReferenceToResultColumn = false}) List<Column>
Attempts to resolve an unqualified reference from a columnName.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited