QuerySingle4<A, B, C, D> extension

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

on

Properties

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

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

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

Methods

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

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

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

Available on QuerySingle<(Expr<A>, Expr<B>, Expr<C>, Expr<D>)>, provided by the QuerySingle4 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, Expr<D> d)) QuerySingle<T>

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

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

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

Filter QuerySingle using WHERE clause.