pgxv4

package
v6.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 6 Imported by: 0

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

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