ConnectionSettings class

Inheritance
Implementers

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})
const

Properties

applicationName String?
final
connectTimeout Duration?
finalinherited
encoding Encoding?
final
hashCode int
The hash code for this object.
no setterinherited
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