queryMode property

QueryMode queryMode
final

The Query Execution Mode

The default value is QueryMode.extended which uses the Extended Query Protocol. In certain cases, the Extended protocol cannot be used (e.g. in replication mode or with proxies such as PGBouncer), hence the the Simple one would be the only viable option. Unless necessary, always prefer using QueryMode.extended.

Implementation

final QueryMode queryMode;