Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IClient ¶
type IClient interface { BeginTx(ctx context.Context, opts pgx.TxOptions) (pgx.Tx, error) Commit(ctx context.Context) error Rollback(ctx context.Context) error Exec(ctx context.Context, sql string, arguments ...interface{}) (pgconn.CommandTag, error) Query(ctx context.Context, sql string, args ...interface{}) (pgx.Rows, error) QueryRow(ctx context.Context, sql string, args ...interface{}) pgx.Row }
func FromContext ¶
Click to show internal directories.
Click to hide internal directories.