Versions in this module Expand all Collapse all v0 v0.0.1 Aug 28, 2021 Changes in this version + func NewConn(poolConn *pgxpool.Conn, driver driver.Driver) driver.Conn + type Conn struct + func (c *Conn) Begin() (driver.Tx, error) + func (c *Conn) BeginTx(ctx context.Context, opts driver.TxOptions) (driver.Tx, error) + func (c *Conn) CheckNamedValue(*driver.NamedValue) error + func (c *Conn) Close() error + func (c *Conn) ExecContext(ctx context.Context, query string, argsV []driver.NamedValue) (driver.Result, error) + func (c *Conn) Ping(ctx context.Context) error + func (c *Conn) Prepare(query string) (driver.Stmt, error) + func (c *Conn) PrepareContext(ctx context.Context, query string) (driver.Stmt, error) + func (c *Conn) QueryContext(ctx context.Context, query string, argsV []driver.NamedValue) (driver.Rows, error) + func (c *Conn) ResetSession(ctx context.Context) error + type Connector struct + func NewConnector(driver driver.Driver, dsn string) (*Connector, error) + func (c *Connector) Connect(ctx context.Context) (driver.Conn, error) + func (c *Connector) Driver() driver.Driver + type Driver struct + func NewDriver() *Driver + func (d *Driver) Open(name string) (driver.Conn, error) + func (d *Driver) OpenConnector(name string) (driver.Connector, error) + type Rows struct + func NewRows(conn *Conn, rows pgx.Rows, skipNext, skipNextMore bool) *Rows + func (r *Rows) Close() error + func (r *Rows) ColumnTypeDatabaseTypeName(index int) string + func (r *Rows) ColumnTypeLength(index int) (int64, bool) + func (r *Rows) ColumnTypePrecisionScale(index int) (precision, scale int64, ok bool) + func (r *Rows) ColumnTypeScanType(index int) reflect.Type + func (r *Rows) Columns() []string + func (r *Rows) Next(dest []driver.Value) error + type Stmt struct + func NewStmt(conn *Conn, stmtDesc *pgconn.StatementDescription) *Stmt + func (s *Stmt) Close() error + func (s *Stmt) Exec(argsV []driver.Value) (driver.Result, error) + func (s *Stmt) ExecContext(ctx context.Context, argsV []driver.NamedValue) (driver.Result, error) + func (s *Stmt) NumInput() int + func (s *Stmt) Query(argsV []driver.Value) (driver.Rows, error) + func (s *Stmt) QueryContext(ctx context.Context, argsV []driver.NamedValue) (driver.Rows, error)