Query1<A> extension
Extension methods for a query returning zero or more rows with 1 expression.
Properties
Methods
-
count(
) → QuerySingle< (Expr< int> )> -
Available on Query<
Count number of rows in this Query using(Expr< , provided by the Query1 extensionA> )>COUNT(*)
aggregate function. -
except(
Query< (Expr< other) → Query<A> )>(Expr< A> )> -
Available on Query<
Combine this Query with(Expr< , provided by the Query1 extensionA> )>other
usingEXCEPT
set operator. -
exists(
) → QuerySingle< (Expr< bool> )> -
Available on Query<
Check for existance of rows in this Query using(Expr< , provided by the Query1 extensionA> )>EXISTS
operator. -
fetch(
) → Future< List< A> > -
Available on Query<
Query the database for rows in this Query as a List.(Expr< , provided by the Query1 extensionA> )> -
groupBy<
T extends Record> (T groupBuilder(Expr< A> a)) → Group<T, (Expr< A> )> -
Available on Query<
Create projection for(Expr< , provided by the Query1 extensionA> )>GROUP BY
clause. -
intersect(
Query< (Expr< other) → Query<A> )>(Expr< A> )> -
Available on Query<
Combine this Query with(Expr< , provided by the Query1 extensionA> )>other
usingINTERSECT
set operator. -
join<
T extends Record> (Query< T> query) → InnerJoin<(Expr< A> ), T> -
Available on Query<
Join this Query with another Query using(Expr< , provided by the Query1 extensionA> )>INNER JOIN
clause. -
leftJoin<
T extends Record> (Query< T> query) → LeftJoin<(Expr< A> ), T> -
Available on Query<
Join this Query with another Query using(Expr< , provided by the Query1 extensionA> )>LEFT JOIN
clause. -
limit(
int limit) → Query< (Expr< A> )> -
Available on Query<
Limit Query using(Expr< , provided by the Query1 extensionA> )>LIMIT
clause. -
offset(
int offset) → Query< (Expr< A> )> -
Available on Query<
Offset Query using(Expr< , provided by the Query1 extensionA> )>OFFSET
clause. -
orderBy(
List< (Expr< builder(Expr<Comparable?> , Order)>A> a)) → OrderedQuery<(Expr< A> )> -
Available on Query<
Order Query using(Expr< , provided by the Query1 extensionA> )>ORDER BY
clause. -
rightJoin<
T extends Record> (Query< T> query) → RightJoin<(Expr< A> ), T> -
Available on Query<
Join this Query with another Query using(Expr< , provided by the Query1 extensionA> )>RIGHT JOIN
clause. -
select<
T extends Record> (T projectionBuilder(Expr< A> a)) → Query<T> -
Available on Query<
Create a projection of this Query using(Expr< , provided by the Query1 extensionA> )>SELECT
clause. -
stream(
) → Stream< A> -
Available on Query<
Query the database for rows in this Query as a Stream.(Expr< , provided by the Query1 extensionA> )> -
union(
Query< (Expr< other) → Query<A> )>(Expr< A> )> -
Available on Query<
Combine this Query with(Expr< , provided by the Query1 extensionA> )>other
usingUNION
set operator. -
unionAll(
Query< (Expr< other) → Query<A> )>(Expr< A> )> -
Available on Query<
Combine this Query with(Expr< , provided by the Query1 extensionA> )>other
usingUNION ALL
set operator. -
where(
Expr< bool> conditionBuilder(Expr<A> a)) → Query<(Expr< A> )> -
Available on Query<
Filter Query using(Expr< , provided by the Query1 extensionA> )>WHERE
clause.
Operators
-
operator &(
Query< (Expr< other) → Query<A> )>(Expr< A> )> -
Available on Query<
Combine this Query with(Expr< , provided by the Query1 extensionA> )>other
usingINTERSECT
set operator. -
operator +(
Query< (Expr< other) → Query<A> )>(Expr< A> )> -
Available on Query<
Combine this Query with(Expr< , provided by the Query1 extensionA> )>other
usingUNION ALL
set operator. -
operator -(
Query< (Expr< other) → Query<A> )>(Expr< A> )> -
Available on Query<
Combine this Query with(Expr< , provided by the Query1 extensionA> )>other
usingUNION
set operator. -
operator |(
Query< (Expr< other) → Query<A> )>(Expr< A> )> -
Available on Query<
Combine this Query with(Expr< , provided by the Query1 extensionA> )>other
usingEXCEPT
set operator.