ConnectionSettings class

Inheritance
  • Object
  • SessionSettings
  • ConnectionSettings

Constructors

ConnectionSettings({String? applicationName, String? timeZone, Encoding? encoding, SslMode? sslMode, StreamChannelTransformer<Message, Message>? transformer, ReplicationMode? replicationMode, TypeRegistry? typeRegistry, SecurityContext? securityContext, Future<void> onOpen(Connection connection)?, Duration? connectTimeout, Duration? queryTimeout, QueryMode? queryMode, bool? ignoreSuperfluousParameters, bool? ignoreStackTraces})
const

Properties

applicationName → String?
final
connectTimeout → Duration?
finalinherited
encoding → Encoding?
final
hashCode → int
The hash code for this object.
no setterinherited
ignoreStackTraces → bool?
When set to true, statement execution uses StackTrace.empty instead of capturing StackTrace.current, trading caller-pointing error traces for lower CPU overhead in high-throughput scenarios. Defaults to false.
finalinherited
ignoreSuperfluousParameters → bool?
When set, the default query map will not throw exception when superfluous parameters are found.
finalinherited
onOpen → Future<void> Function(Connection connection)?
This callback function will be called after opening the connection.
final
queryMode → QueryMode?
The Query Execution Mode
finalinherited
queryTimeout → Duration?
finalinherited
replicationMode → ReplicationMode?
The replication mode for connecting in streaming replication mode.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
securityContext → SecurityContext?
The SecurityContext to use when opening a connection.
final
sslMode → SslMode?
final
timeZone → String?
final
transformer → StreamChannelTransformer<Message, Message>?
An optional StreamChannelTransformer sitting behind the postgres client as implemented in the posgres package and the database server.
final
typeRegistry → TypeRegistry?
When set, use the type registry with custom types, instead of the built-in ones provided by the package.
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