QuerySingle<T extends Record> class
final
Writing queries
A Query which can return at-most a single row.
A QuerySingle object may return zero or one row.
- Available extensions
Properties
-
asExpr
→ Expr<
T?> -
Available on QuerySingle<
Use this QuerySingle as subquery expression.(Expr< , provided by the QuerySingle1AsExpr extensionT> )>no setter -
asQuery
→ Query<
(Expr< A> )> -
Available on QuerySingle<
Get Query with the same rows as this QuerySingle.(Expr< , provided by the QuerySingle1 extensionA> )>no setter -
asQuery
→ Query<
(Expr< A> , Expr<B> )> -
Available on QuerySingle<
Get Query with the same rows as this QuerySingle.(Expr< , provided by the QuerySingle2 extensionA> , Expr<B> )>no setter -
asQuery
→ Query<
(Expr< A> , Expr<B> , Expr<C> )> -
Available on QuerySingle<
Get Query with the same rows as this QuerySingle.(Expr< , provided by the QuerySingle3 extensionA> , Expr<B> , Expr<C> )>no setter -
asQuery
→ Query<
(Expr< A> , Expr<B> , Expr<C> , Expr<D> )> -
Available on QuerySingle<
Get Query with the same rows as this QuerySingle.(Expr< , provided by the QuerySingle4 extensionA> , Expr<B> , Expr<C> , Expr<D> )>no setter -
asQuery
→ Query<
(Expr< A> , Expr<B> , Expr<C> , Expr<D> , Expr<E> )> -
Available on QuerySingle<
Get Query with the same rows as this QuerySingle.(Expr< , provided by the QuerySingle5 extensionA> , Expr<B> , Expr<C> , Expr<D> , Expr<E> )>no setter -
asQuery
→ Query<
(Expr< A> , Expr<B> , Expr<C> , Expr<D> , Expr<E> , Expr<F> )> -
Available on QuerySingle<
Get Query with the same rows as this QuerySingle.(Expr< , provided by the QuerySingle6 extensionA> , Expr<B> , Expr<C> , Expr<D> , Expr<E> , Expr<F> )>no setter -
asQuery
→ Query<
(Expr< A> , Expr<B> , Expr<C> , Expr<D> , Expr<E> , Expr<F> , Expr<G> )> -
Available on QuerySingle<
Get Query with the same rows as this QuerySingle.(Expr< , provided by the QuerySingle7 extensionA> , Expr<B> , Expr<C> , Expr<D> , Expr<E> , Expr<F> , Expr<G> )>no setter -
asQuery
→ Query<
(Expr< A> , Expr<B> , Expr<C> , Expr<D> , Expr<E> , Expr<F> , Expr<G> , Expr<H> )> -
Available on QuerySingle<
Get Query with the same rows as this QuerySingle.(Expr< , provided by the QuerySingle8 extensionA> , Expr<B> , Expr<C> , Expr<D> , Expr<E> , Expr<F> , Expr<G> , Expr<H> )>no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fetch(
) → Future< A?> -
Available on QuerySingle<
Query the database for the row matching this QuerySingle, if any.(Expr< , provided by the QuerySingle1 extensionA> )> -
fetch(
) → Future< (A, B)?> -
Available on QuerySingle<
Query the database for the row matching this QuerySingle, if any.(Expr< , provided by the QuerySingle2 extensionA> , Expr<B> )> -
fetch(
) → Future< (A, B, C)?> -
Available on QuerySingle<
Query the database for the row matching this QuerySingle, if any.(Expr< , provided by the QuerySingle3 extensionA> , Expr<B> , Expr<C> )> -
fetch(
) → Future< (A, B, C, D)?> -
Available on QuerySingle<
Query the database for the row matching this QuerySingle, if any.(Expr< , provided by the QuerySingle4 extensionA> , Expr<B> , Expr<C> , Expr<D> )> -
fetch(
) → Future< (A, B, C, D, E)?> -
Available on QuerySingle<
Query the database for the row matching this QuerySingle, if any.(Expr< , provided by the QuerySingle5 extensionA> , Expr<B> , Expr<C> , Expr<D> , Expr<E> )> -
fetch(
) → Future< (A, B, C, D, E, F)?> -
Available on QuerySingle<
Query the database for the row matching this QuerySingle, if any.(Expr< , provided by the QuerySingle6 extensionA> , Expr<B> , Expr<C> , Expr<D> , Expr<E> , Expr<F> )> -
fetch(
) → Future< (A, B, C, D, E, F, G)?> -
Available on QuerySingle<
Query the database for the row matching this QuerySingle, if any.(Expr< , provided by the QuerySingle7 extensionA> , Expr<B> , Expr<C> , Expr<D> , Expr<E> , Expr<F> , Expr<G> )> -
fetch(
) → Future< (A, B, C, D, E, F, G, H)?> -
Available on QuerySingle<
Query the database for the row matching this QuerySingle, if any.(Expr< , provided by the QuerySingle8 extensionA> , Expr<B> , Expr<C> , Expr<D> , Expr<E> , Expr<F> , Expr<G> , Expr<H> )> -
fetchOrNulls(
) → Future< (A?, B?)> -
Available on QuerySingle<
Query the database for the row matching this QuerySingle, if any.(Expr< , provided by the QuerySingle2 extensionA> , Expr<B> )> -
fetchOrNulls(
) → Future< (A?, B?, C?)> -
Available on QuerySingle<
Query the database for the row matching this QuerySingle, if any.(Expr< , provided by the QuerySingle3 extensionA> , Expr<B> , Expr<C> )> -
fetchOrNulls(
) → Future< (A?, B?, C?, D?)> -
Available on QuerySingle<
Query the database for the row matching this QuerySingle, if any.(Expr< , provided by the QuerySingle4 extensionA> , Expr<B> , Expr<C> , Expr<D> )> -
fetchOrNulls(
) → Future< (A?, B?, C?, D?, E?)> -
Available on QuerySingle<
Query the database for the row matching this QuerySingle, if any.(Expr< , provided by the QuerySingle5 extensionA> , Expr<B> , Expr<C> , Expr<D> , Expr<E> )> -
fetchOrNulls(
) → Future< (A?, B?, C?, D?, E?, F?)> -
Available on QuerySingle<
Query the database for the row matching this QuerySingle, if any.(Expr< , provided by the QuerySingle6 extensionA> , Expr<B> , Expr<C> , Expr<D> , Expr<E> , Expr<F> )> -
fetchOrNulls(
) → Future< (A?, B?, C?, D?, E?, F?, G?)> -
Available on QuerySingle<
Query the database for the row matching this QuerySingle, if any.(Expr< , provided by the QuerySingle7 extensionA> , Expr<B> , Expr<C> , Expr<D> , Expr<E> , Expr<F> , Expr<G> )> -
fetchOrNulls(
) → Future< (A?, B?, C?, D?, E?, F?, G?, H?)> -
Available on QuerySingle<
Query the database for the row matching this QuerySingle, if any.(Expr< , provided by the QuerySingle8 extensionA> , Expr<B> , Expr<C> , Expr<D> , Expr<E> , Expr<F> , Expr<G> , Expr<H> )> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
select<
T extends Record> (T projectionBuilder(Expr< A> a)) → QuerySingle<T> -
Available on QuerySingle<
Create a projection of this QuerySingle using(Expr< , provided by the QuerySingle1 extensionA> )>SELECT
clause. -
select<
T extends Record> (T projectionBuilder(Expr< A> a, Expr<B> b)) → QuerySingle<T> -
Available on QuerySingle<
Create a projection of this QuerySingle using(Expr< , provided by the QuerySingle2 extensionA> , Expr<B> )>SELECT
clause. -
select<
T extends Record> (T projectionBuilder(Expr< A> a, Expr<B> b, Expr<C> c)) → QuerySingle<T> -
Available on QuerySingle<
Create a projection of this QuerySingle using(Expr< , provided by the QuerySingle3 extensionA> , Expr<B> , Expr<C> )>SELECT
clause. -
select<
T extends Record> (T projectionBuilder(Expr< A> a, Expr<B> b, Expr<C> c, Expr<D> d)) → QuerySingle<T> -
Available on QuerySingle<
Create a projection of this QuerySingle using(Expr< , provided by the QuerySingle4 extensionA> , Expr<B> , Expr<C> , Expr<D> )>SELECT
clause. -
select<
T extends Record> (T projectionBuilder(Expr< A> a, Expr<B> b, Expr<C> c, Expr<D> d, Expr<E> e)) → QuerySingle<T> -
Available on QuerySingle<
Create a projection of this QuerySingle using(Expr< , provided by the QuerySingle5 extensionA> , Expr<B> , Expr<C> , Expr<D> , Expr<E> )>SELECT
clause. -
select<
T extends Record> (T projectionBuilder(Expr< A> a, Expr<B> b, Expr<C> c, Expr<D> d, Expr<E> e, Expr<F> f)) → QuerySingle<T> -
Available on QuerySingle<
Create a projection of this QuerySingle using(Expr< , provided by the QuerySingle6 extensionA> , Expr<B> , Expr<C> , Expr<D> , Expr<E> , Expr<F> )>SELECT
clause. -
select<
T extends Record> (T projectionBuilder(Expr< A> a, Expr<B> b, Expr<C> c, Expr<D> d, Expr<E> e, Expr<F> f, Expr<G> g)) → QuerySingle<T> -
Available on QuerySingle<
Create a projection of this QuerySingle using(Expr< , provided by the QuerySingle7 extensionA> , Expr<B> , Expr<C> , Expr<D> , Expr<E> , Expr<F> , Expr<G> )>SELECT
clause. -
select<
T extends Record> (T projectionBuilder(Expr< A> a, Expr<B> b, Expr<C> c, Expr<D> d, Expr<E> e, Expr<F> f, Expr<G> g, Expr<H> h)) → QuerySingle<T> -
Available on QuerySingle<
Create a projection of this QuerySingle using(Expr< , provided by the QuerySingle8 extensionA> , Expr<B> , Expr<C> , Expr<D> , Expr<E> , Expr<F> , Expr<G> , Expr<H> )>SELECT
clause. -
toString(
) → String -
A string representation of this object.
inherited
-
where(
Expr< bool> conditionBuilder(Expr<A> a)) → QuerySingle<(Expr< A> )> -
Available on QuerySingle<
Filter QuerySingle using(Expr< , provided by the QuerySingle1 extensionA> )>WHERE
clause. -
where(
Expr< bool> conditionBuilder(Expr<A> a, Expr<B> b)) → QuerySingle<(Expr< A> , Expr<B> )> -
Available on QuerySingle<
Filter QuerySingle using(Expr< , provided by the QuerySingle2 extensionA> , Expr<B> )>WHERE
clause. -
where(
Expr< bool> conditionBuilder(Expr<A> a, Expr<B> b, Expr<C> c)) → QuerySingle<(Expr< A> , Expr<B> , Expr<C> )> -
Available on QuerySingle<
Filter QuerySingle using(Expr< , provided by the QuerySingle3 extensionA> , Expr<B> , Expr<C> )>WHERE
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<
Filter QuerySingle using(Expr< , provided by the QuerySingle4 extensionA> , Expr<B> , Expr<C> , Expr<D> )>WHERE
clause. -
where(
Expr< bool> conditionBuilder(Expr<A> a, Expr<B> b, Expr<C> c, Expr<D> d, Expr<E> e)) → QuerySingle<(Expr< A> , Expr<B> , Expr<C> , Expr<D> , Expr<E> )> -
Available on QuerySingle<
Filter QuerySingle using(Expr< , provided by the QuerySingle5 extensionA> , Expr<B> , Expr<C> , Expr<D> , Expr<E> )>WHERE
clause. -
where(
Expr< bool> conditionBuilder(Expr<A> a, Expr<B> b, Expr<C> c, Expr<D> d, Expr<E> e, Expr<F> f)) → QuerySingle<(Expr< A> , Expr<B> , Expr<C> , Expr<D> , Expr<E> , Expr<F> )> -
Available on QuerySingle<
Filter QuerySingle using(Expr< , provided by the QuerySingle6 extensionA> , Expr<B> , Expr<C> , Expr<D> , Expr<E> , Expr<F> )>WHERE
clause. -
where(
Expr< bool> conditionBuilder(Expr<A> a, Expr<B> b, Expr<C> c, Expr<D> d, Expr<E> e, Expr<F> f, Expr<G> g)) → QuerySingle<(Expr< A> , Expr<B> , Expr<C> , Expr<D> , Expr<E> , Expr<F> , Expr<G> )> -
Available on QuerySingle<
Filter QuerySingle using(Expr< , provided by the QuerySingle7 extensionA> , Expr<B> , Expr<C> , Expr<D> , Expr<E> , Expr<F> , Expr<G> )>WHERE
clause. -
where(
Expr< bool> conditionBuilder(Expr<A> a, Expr<B> b, Expr<C> c, Expr<D> d, Expr<E> e, Expr<F> f, Expr<G> g, Expr<H> h)) → QuerySingle<(Expr< A> , Expr<B> , Expr<C> , Expr<D> , Expr<E> , Expr<F> , Expr<G> , Expr<H> )> -
Available on QuerySingle<
Filter QuerySingle using(Expr< , provided by the QuerySingle8 extensionA> , Expr<B> , Expr<C> , Expr<D> , Expr<E> , Expr<F> , Expr<G> , Expr<H> )>WHERE
clause.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited