Documentation ¶
Index ¶
- func Exec(ctx context.Context, execer Execer, builder Builder) error
- func Get[T any](ctx context.Context, querier Querier, builder Builder) (T, error)
- func Select[T any](ctx context.Context, querier Querier, builder Builder) ([]T, error)
- type Builder
- type Execer
- type Executor
- func (e *Executor) BeginTx(ctx context.Context) (context.Context, error)
- func (e *Executor) BeginTxWithOptions(ctx context.Context, options pgx.TxOptions) (context.Context, error)
- func (e *Executor) CommitTx(ctx context.Context) error
- func (e *Executor) Execer(ctx context.Context) Execer
- func (e *Executor) Querier(ctx context.Context) Querier
- func (e *Executor) RollbackTx(ctx context.Context)
- type Querier
- type TxStack
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.