Cte<R, F extends Fields> class final

A CTE exports SQL expression identities. Dart mapper properties are not mistaken for SQL columns. ref() accepts only expressions the source selected.

Create one with Query.asCte. Accessing query or alias only builds a description; database work starts when the resulting query executes.

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
SQL name used for this common table expression.
final
query Query<R, CteFields<F>>
Starts a query over the CTE while retaining the source's decoded row type.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

alias() TableAlias<R, CteFields<F>>
Creates a fresh CTE occurrence for a join or self join.
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