replicationMode property
The replication mode for connecting in streaming replication mode.
The default value is ReplicationMode.none. But when the value is set to ReplicationMode.physical or ReplicationMode.logical, the connection will be established in replication mode.
Please note, while in replication mode, only the Simple Query Protcol can be used to execute queries.
For more info, see Streaming Replication Protocol
Implementation
final ReplicationMode replicationMode;