subqueryExpression<R extends Object> function Null safety

Expression<R> subqueryExpression<R extends Object>(
  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 extends Object>(
    BaseSelectStatement statement) {
  _checkSubquery(statement);
  return _SubqueryExpression<R>(statement);
}