PostgreSqlExecutor class Null safety

A QueryExecutor that queries a PostgreSQL database.

Inheritance

Constructors

PostgreSqlExecutor(PostgreSQLExecutionContext _connection, {Logger? logger})

Properties

connection PostgreSQLExecutionContext
The underlying connection.
read-only
dialect Dialect
read-onlyoverride
hashCode int
The hash code for this object.
read-onlyinherited
logger Logger
An optional Logger to print information to. A default logger will be used if not set
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

close() Future
Closes the connection.
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>
Executes a single query.
override
toString() String
A string representation of this object.
inherited
transaction<T>(FutureOr<T> f(QueryExecutor)) Future<T>
Enters a database transaction, performing the actions within, and returning the results of f.
override

Operators

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