SubSelect class final

A subquery in the select list: (SELECT ...) AS alias, or EXISTS(SELECT ...) AS alias when exists. Compiled in the same pass as the outer query, so dialects with numbered placeholders stay in order.

Constructors

SubSelect(QueryAst query, String alias, {bool exists = false})
Selects query as the column alias, or EXISTS(query) when exists.
const

Properties

alias → String
The name of the resulting column.
final
exists → bool
Whether the column is EXISTS(query) rather than the query's value.
final
hashCode → int
The hash code for this object.
no setterinherited
query → QueryAst
The inner query.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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