SqlRead<R> class
final
A compiled row-returning operation.
For a mutation with RETURNING, the database applies the write before
projection decoding and cardinality checks. Use
TransactionalSqlDatabase.transaction where supported when either failure
must roll back the side effects. Otherwise, constrain the mutation so its
returned row count is already guaranteed.
Properties
Methods
-
all(
SqlExecutor executor) → Future< List< R> > - Executes this operation through SqlExecutor.query.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
one(
SqlExecutor executor) → Future< R> - Returns the only row produced by this operation.
-
oneOrNull(
SqlExecutor executor) → Future< R?> -
Returns the only row produced by this operation, or
nullfor no rows. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited