subqueryExpression<R> function Null safety

Expression<R> subqueryExpression<R>(
  1. BaseSelectStatement statement
)

Creates a subquery expression from the given statement.

The statement, which can be created via DatabaseConnectionUser.select in a database class, must return exactly one row with exactly one column.

Implementation

Expression<R> subqueryExpression<R>(BaseSelectStatement statement) {
  _checkSubquery(statement);
  return _SubqueryExpression<R>(statement);
}