ReturnSingle<T extends Record> class final

An SQL statement that returns at-most one row.

This can be an INSERT, UPDATE or DELETE 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 ReturnSingle<(Expr<A>)>, provided by the ReturnSingle1 extension

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

Available on ReturnSingle<(Expr<A>, Expr<B>)>, provided by the ReturnSingle2 extension

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

Available on ReturnSingle<(Expr<A>, Expr<B>, Expr<C>)>, provided by the ReturnSingle3 extension

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

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

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

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

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

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

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

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

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

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

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

Available on ReturnSingle<(Expr<A>, Expr<B>)>, provided by the ReturnSingle2 extension

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

Available on ReturnSingle<(Expr<A>, Expr<B>, Expr<C>)>, provided by the ReturnSingle3 extension

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

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

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

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

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

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

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

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

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

Available on ReturnSingle<(Expr<A>, Expr<B>, Expr<C>, Expr<D>, Expr<E>, Expr<F>, Expr<G>, Expr<H>)>, provided by the ReturnSingle8 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