package pgxv5

import "github.com/vgarvardt/gue/v5/adapter/pgxv5"

Index

Functions

func NewConn

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

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

func NewConnPool

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

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

func NewTx

func NewTx(tx pgx.Tx) adapter.Tx

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

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.

Source Files

db.go

Version
v5.6.1
Published
Apr 4, 2024
Platform
js/wasm
Imports
6 packages
Last checked
4 hours ago

Tools for package owners.