transformer property

StreamChannelTransformer<BaseMessage, BaseMessage>? transformer
final

An optional StreamChannelTransformer sitting behind the postgres client as implemented in the posgres package and the database server.

The stream channel transformer is able to view, alter, drop, or inject messages in either direction. This powerful tool can be used to implement additional or custom functionality, but should also be used with caution as altering the message flow might break internal invariants of this package.

For an example, see example/v3/transformer.dart.

Implementation

final StreamChannelTransformer<BaseMessage, BaseMessage>? transformer;