package libpq
import "github.com/vgarvardt/gue/v5/adapter/libpq"
Index ¶
- func NewConn(c *sql.Conn) adapter.Conn
- func NewConnPool(pool *sql.DB) adapter.ConnPool
- func NewTx(tx *sql.Tx) adapter.Tx
- func UnwrapTx(tx adapter.Tx) (*sql.Tx, bool)
Functions ¶
func NewConn ¶
NewConn instantiates new adapter.Conn using github.com/lib/pq
func NewConnPool ¶
NewConnPool instantiates new adapter.ConnPool using github.com/lib/pq
func NewTx ¶
NewTx instantiates new adapter.Tx using github.com/lib/pq
func UnwrapTx ¶
UnwrapTx tries to unwrap driver-specific transaction instance from the interface. Returns unwrap success as the second parameter.
Source Files ¶
- Version
- v5.1.1
- Published
- Feb 28, 2023
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 4 hours ago –
Tools for package owners.