SubQuery5<A, B, C, D, E> extension

Extension methods for a subquery returning zero or more rows with 5 expressions.

on

Methods

count() Expr<int>

Available on SubQuery<(Expr<A>, Expr<B>, Expr<C>, Expr<D>, Expr<E>)>, provided by the SubQuery5 extension

Count number of rows in this SubQuery using COUNT(*) aggregate function.
exists() Expr<bool>

Available on SubQuery<(Expr<A>, Expr<B>, Expr<C>, Expr<D>, Expr<E>)>, provided by the SubQuery5 extension

Check for existance of rows in this SubQuery using EXISTS operator.
limit(int limit) SubQuery<(Expr<A>, Expr<B>, Expr<C>, Expr<D>, Expr<E>)>

Available on SubQuery<(Expr<A>, Expr<B>, Expr<C>, Expr<D>, Expr<E>)>, provided by the SubQuery5 extension

Limit SubQuery using LIMIT clause.
offset(int offset) SubQuery<(Expr<A>, Expr<B>, Expr<C>, Expr<D>, Expr<E>)>

Available on SubQuery<(Expr<A>, Expr<B>, Expr<C>, Expr<D>, Expr<E>)>, provided by the SubQuery5 extension

Offset SubQuery using OFFSET clause.
orderBy(List<(Expr<Comparable?>, Order)> builder(Expr<A> a, Expr<B> b, Expr<C> c, Expr<D> d, Expr<E> e)) OrderedSubQuery<(Expr<A>, Expr<B>, Expr<C>, Expr<D>, Expr<E>)>

Available on SubQuery<(Expr<A>, Expr<B>, Expr<C>, Expr<D>, Expr<E>)>, provided by the SubQuery5 extension

Order SubQuery using ORDER BY clause.
select<T extends Record>(T projectionBuilder(Expr<A> a, Expr<B> b, Expr<C> c, Expr<D> d, Expr<E> e)) SubQuery<T>

Available on SubQuery<(Expr<A>, Expr<B>, Expr<C>, Expr<D>, Expr<E>)>, provided by the SubQuery5 extension

Create a projection of this SubQuery using SELECT clause.
where(Expr<bool> conditionBuilder(Expr<A> a, Expr<B> b, Expr<C> c, Expr<D> d, Expr<E> e)) SubQuery<(Expr<A>, Expr<B>, Expr<C>, Expr<D>, Expr<E>)>

Available on SubQuery<(Expr<A>, Expr<B>, Expr<C>, Expr<D>, Expr<E>)>, provided by the SubQuery5 extension

Filter SubQuery using WHERE clause.