ScalarSubqueryExpr class

Scalar subquery (SELECT ...). The actual execution is delegated to a closure injected by the parser/executor (the parser doesn't depend on the database).

Inheritance

Constructors

ScalarSubqueryExpr(Object? run(Map<String, Object?> row))

Properties

hashCode int
The hash code for this object.
no setterinherited
run Object? Function(Map<String, Object?> row)
Returns a single value or null. The closure receives the current outer row map (currently unused — correlated subqueries not supported).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

eval(Map<String, Object?> row) Object?
Evaluate this expression in the context of row (column name -> value).
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