PgSessionExecutor class abstract

Implementers

Constructors

PgSessionExecutor()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run<R>(Future<R> fn(PgSession session), {PgRetryOptions? retryOptions}) → Future<R>
Executa fn com uma sessão.
runTx<R>(Future<R> fn(PgSession session), {PgRetryOptions? retryOptions}) → Future<R>
Executa fn numa transação: BEGIN, a função e COMMIT; se a função lançar um erro, ROLLBACK e o erro é relançado.
toString() → String
A string representation of this object.
inherited

Operators

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