Documentation
¶
Overview ¶
Package stdtxpgxv5 implements the stdtx.Driver for pgx/v5 postgres driver.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(o *options)
Option configures the pgxv5 driver.
func AccessMode ¶
func AccessMode(v pgx.TxAccessMode) Option
AccessMode configure the access mode for transactions created for the driver.
func BeginWithSQL ¶
func BeginWithSQL(v TxBeginSQLFunc) Option
BeginWithSQL configure the access mode for transactions created for the driver.
func DiscourageSeqScan ¶
DiscourageSeqScan configure the access mode for transactions created for the driver.
func IsolationMode ¶
func IsolationMode(v pgx.TxIsoLevel) Option
IsolationMode configure the access mode for transactions created for the driver.
Click to show internal directories.
Click to hide internal directories.