Documentation
¶
Index ¶
- type Querier
- func (q *Querier) Close(ctx context.Context) error
- func (q *Querier) CopyFrom(ctx context.Context, tableName string, columnNames []string, srcRows [][]any) (int64, error)
- func (q *Querier) Exec(ctx context.Context, query string, args ...any) (postgres.CommandTag, error)
- func (q *Querier) ExecInTx(ctx context.Context, fn func(tx postgres.Tx) error) error
- func (q *Querier) ExecInTxWithOptions(ctx context.Context, fn func(tx postgres.Tx) error, txOpts postgres.TxOptions) error
- func (q *Querier) Ping(ctx context.Context) error
- func (q *Querier) Query(ctx context.Context, query string, args ...any) (postgres.Rows, error)
- func (q *Querier) QueryRow(ctx context.Context, dest []any, query string, args ...any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.