ReturnOne<T extends Record> class final

An SQL statement that returns exactly one row.

This can be an INSERT statement. This is not a SELECT query, these are represented with QuerySingle objects.

Unlike a QuerySingle object which only returns values when evaluated, this statement may have side-effects, and this statement cannot be extended with additional clauses.

Available extensions

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

executeAndFetch() Future<A>

Available on ReturnOne<(Expr<A>)>, provided by the ReturnOne1 extension

Execute this statement and return the output.
executeAndFetch() Future<(A, B)>

Available on ReturnOne<(Expr<A>, Expr<B>)>, provided by the ReturnOne2 extension

Execute this statement and return the output.
executeAndFetch() Future<(A, B, C)>

Available on ReturnOne<(Expr<A>, Expr<B>, Expr<C>)>, provided by the ReturnOne3 extension

Execute this statement and return the output.
executeAndFetch() Future<(A, B, C, D)>

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

Execute this statement and return the output.
executeAndFetch() Future<(A, B, C, D, E)>

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

Execute this statement and return the output.
executeAndFetch() Future<(A, B, C, D, E, F)>

Available on ReturnOne<(Expr<A>, Expr<B>, Expr<C>, Expr<D>, Expr<E>, Expr<F>)>, provided by the ReturnOne6 extension

Execute this statement and return the output.
executeAndFetch() Future<(A, B, C, D, E, F, G)>

Available on ReturnOne<(Expr<A>, Expr<B>, Expr<C>, Expr<D>, Expr<E>, Expr<F>, Expr<G>)>, provided by the ReturnOne7 extension

Execute this statement and return the output.
executeAndFetch() Future<(A, B, C, D, E, F, G, H)>

Available on ReturnOne<(Expr<A>, Expr<B>, Expr<C>, Expr<D>, Expr<E>, Expr<F>, Expr<G>, Expr<H>)>, provided by the ReturnOne8 extension

Execute this statement and return the output.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited