Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PGXPool ¶
type PGXPool interface {
Begin(ctx context.Context) (pgx.Tx, error)
Ping(ctx context.Context) error
QueryRow(ctx context.Context, sql string, args ...interface{}) pgx.Row
Query(ctx context.Context, sql string, args ...interface{}) (pgx.Rows, error)
Exec(ctx context.Context, sql string, arguments ...interface{}) (pgconn.CommandTag, error)
Close()
}
PGXPool interface is abstraction of pgxpool package
Click to show internal directories.
Click to hide internal directories.