QuerySingle3<A, B, C> extension

Extensions for a query returning at-most one row with 3 expressions.

on

Properties

asQuery Query<(Expr<A>, Expr<B>, Expr<C>)>

Available on QuerySingle<(Expr<A>, Expr<B>, Expr<C>)>, provided by the QuerySingle3 extension

Get Query with the same rows as this QuerySingle.
no setter

Methods

fetch() Future<(A, B, C)?>

Available on QuerySingle<(Expr<A>, Expr<B>, Expr<C>)>, provided by the QuerySingle3 extension

Query the database for the row matching this QuerySingle, if any.
fetchOrNulls() Future<(A?, B?, C?)>

Available on QuerySingle<(Expr<A>, Expr<B>, Expr<C>)>, provided by the QuerySingle3 extension

Query the database for the row matching this QuerySingle, if any.
select<T extends Record>(T projectionBuilder(Expr<A> a, Expr<B> b, Expr<C> c)) QuerySingle<T>

Available on QuerySingle<(Expr<A>, Expr<B>, Expr<C>)>, provided by the QuerySingle3 extension

Create a projection of this QuerySingle using SELECT clause.
where(Expr<bool> conditionBuilder(Expr<A> a, Expr<B> b, Expr<C> c)) QuerySingle<(Expr<A>, Expr<B>, Expr<C>)>

Available on QuerySingle<(Expr<A>, Expr<B>, Expr<C>)>, provided by the QuerySingle3 extension

Filter QuerySingle using WHERE clause.