CodecContext class

Provides access to connection and database information, and also to additional codecs.

Constructors

CodecContext({required ConnectionInfo connectionInfo, required DatabaseInfo databaseInfo, required Encoding encoding, required TypeRegistry typeRegistry})
CodecContext.withDefaults({ConnectionInfo? connectionInfo, DatabaseInfo? databaseInfo, Encoding? encoding, TypeRegistry? typeRegistry})
factory

Properties

connectionInfo ConnectionInfo
final
databaseInfo DatabaseInfo
final
encoding Encoding
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeRegistry TypeRegistry
final

Methods

newPgByteDataReader([Uint8List? bytes]) → PgByteDataReader
newPgByteDataWriter() PgByteDataWriter
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