Documentation ¶
Index ¶
- func ToSQLState(err error) string
- type Error
- type PGDBTX
- type PgxHandle
- type TransactionRunner
- type TrxWrap
- func (w TrxWrap[Q]) RunROTransaction(ctx context.Context, isolationLevel pgx.TxIsoLevel, ...) error
- func (w TrxWrap[Q]) RunRWTransaction(ctx context.Context, isolationLevel pgx.TxIsoLevel, ...) error
- func (t TrxWrap[Q]) RunTransaction(ctx context.Context, txo pgx.TxOptions, idempotent bool, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToSQLState ¶
Types ¶
type Error ¶
type Error struct {
// contains filtered or unexported fields
}
func (Error) GRPCStatus ¶
type TransactionRunner ¶
type TrxWrap ¶
type TrxWrap[Q any] struct { // contains filtered or unexported fields }
func (TrxWrap[Q]) RunROTransaction ¶
func (w TrxWrap[Q]) RunROTransaction(ctx context.Context, isolationLevel pgx.TxIsoLevel, runner TransactionRunner[Q]) error
func (TrxWrap[Q]) RunRWTransaction ¶
func (w TrxWrap[Q]) RunRWTransaction(ctx context.Context, isolationLevel pgx.TxIsoLevel, runner TransactionRunner[Q]) error
func (TrxWrap[Q]) RunTransaction ¶
Click to show internal directories.
Click to hide internal directories.