pgxv4

package
v5.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConn

func NewConn(c *pgxpool.Conn) adapter.Conn

NewConn instantiates new adapter.Conn using github.com/jackc/pgx/v4

func NewConnPool

func NewConnPool(pool *pgxpool.Pool) adapter.ConnPool

NewConnPool instantiates new adapter.ConnPool using github.com/jackc/pgx/v4

func NewTx

func NewTx(tx pgx.Tx) adapter.Tx

NewTx instantiates new adapter.Tx using github.com/jackc/pgx/v4

func UnwrapTx added in v5.1.0

func UnwrapTx(tx adapter.Tx) (pgx.Tx, bool)

UnwrapTx tries to unwrap driver-specific transaction instance from the interface. Returns unwrap success as the second parameter.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL