PostgreSqlPoolExecutor class Null safety

A QueryExecutor that uses package:postgres_pool for connetions pooling.

Inheritance

Constructors

PostgreSqlPoolExecutor(PgPool _pool, {Logger? logger})

Properties

dialect Dialect
read-onlyoverride
hashCode int
The hash code for this object.
read-onlyinherited
logger Logger
An optional Logger to print information to.
read / write
pool PgPool
The underlying connection pooling.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

close() Future
Closes all the connections in the pool.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
query(String tableName, String query, Map<String, dynamic> substitutionValues, {String returningQuery = '', List<String> returningFields = const []}) Future<PostgreSQLResult>
Run query.
override
toString() String
A string representation of this object.
inherited
transaction<T>(FutureOr<T> f(QueryExecutor)) Future<T>
Run query in a transaction.
override

Operators

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