PgPool class abstract

Implemented types

Constructors

PgPool()

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

close() Future<void>
inherited
execute(Object query, {Object? parameters, Duration? timeout}) Future<PgResult>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prepare(Object query, {Duration? timeout}) Future<PgStatement>
inherited
run<R>(Future<R> fn(PgSession session)) Future<R>
inherited
runTx<R>(Future<R> fn(PgSession session)) Future<R>
inherited
toString() String
A string representation of this object.
inherited
withConnection<R>(Future<R> fn(PgConnection connection), {PgSessionSettings? sessionSettings}) Future<R>

Operators

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

Static Methods

open(List<PgEndpoint> endpoints, {PgSessionSettings? sessionSettings, PgPoolSettings? poolSettings}) Future<PgPool>