PgPoolEvent class

Describes a pool event (with error - if there were any).

Constructors

PgPoolEvent({required int connectionId, String? sessionId, String? traceId, required String action, String? query, Map<String, dynamic>? substitutionValues, Duration? elapsed, dynamic error, StackTrace? stackTrace})
PgPoolEvent.fromPgPoolEvent(PgPoolEvent other)

Properties

action String
One of PgPoolAction values.
final
connectionId int
The id of the connection
final
elapsed Duration?
The elapsed time since the operation started (if applicable).
final
error → dynamic
The error object (if there was any).
final
hashCode int
The hash code for this object.
no setterinherited
query String?
The SQL query (if there was any).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionId String?
The identifier of the session (e.g. activity type)
final
stackTrace StackTrace?
The stack trace when the error happened (if there was any).
final
substitutionValues Map<String, dynamic>?
The SQL query's substitution values (if there was any).
final
traceId String?
The unique identifier of a request (used for correlating log entries).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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