PgSessionSettings class
Constructors
-
PgSessionSettings({Duration? connectTimeout, Duration? queryTimeout, TimeZoneSettings? timeZone, Encoding? encoding, bool onBadSslCertificate(X509Certificate)?, SecurityContext? securityContext, StreamChannelTransformer<
BaseMessage, BaseMessage> ? transformer, DecodingSettings? decodingSettings, String? applicationName, Map<String, String> ? startupParameters})
Properties
- applicationName → String?
-
The
application_namesent in the startup message, if any.final - connectTimeout → Duration?
-
final
- decodingSettings → DecodingSettings?
-
How some types (interval, time, timetz, inet and cidr) are decoded.
final
- encoding → Encoding?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onBadSslCertificate → bool Function(X509Certificate)?
-
final
- queryTimeout → Duration?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- securityContext → SecurityContext?
-
The trusted CAs and the client certificate of the TLS handshake; null
uses the system roots.
final
-
startupParameters
→ Map<
String, String> ? -
Additional session parameters sent in the startup message (for example
search_pathorstatement_timeout), avoidingSETcommands.final - timeZone → TimeZoneSettings?
-
TimeZoneSettings | String
final
-
transformer
→ StreamChannelTransformer<
BaseMessage, BaseMessage> ? -
An optional StreamChannelTransformer sitting behind the postgres client
as implemented in the
posgrespackage and the database server.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