PostgreSqlExecutor class

A QueryExecutor that queries a PostgreSQL database.

Constructors

PostgreSqlExecutor(Session _session, {Endpoint? endpoint, ConnectionSettings? settings, Logger? logger})

Properties

dialect → Dialect
no setter
hashCode int
The hash code for this object.
no setterinherited
logger ↔ Logger
An optional Logger to print information to. A default logger will be used if not set
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
session → Session
The underlying database session.
no setter

Methods

close() Future<void>
Closes the connection.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query(String tableName, String query, Map<String, dynamic> substitutionValues, {String returningQuery = '', List<String> returningFields = const []}) Future<Result>
Executes a single query.
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.

Operators

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