Documentation
¶
Index ¶
- type Pool
- func (p *Pool) BeginTx(ctx context.Context, options pgx.TxOptions) (pgx.Tx, error)
- func (p *Pool) Close()
- func (p *Pool) CurrentDatabase(ctx context.Context) (string, error)
- func (p *Pool) HasExtension(ctx context.Context, name string) (bool, error)
- func (p *Pool) HasTimescaleDB(ctx context.Context) (bool, error)
- func (p *Pool) Query(ctx context.Context, sql string, args ...any) (pgx.Rows, error)
- func (p *Pool) QueryRow(ctx context.Context, sql string, args ...any) pgx.Row
- func (p *Pool) TimescaleDBVersion(ctx context.Context) (string, error)
- type Querier
- type QueryHelper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
func (*Pool) HasExtension ¶
type QueryHelper ¶
type QueryHelper struct {
// contains filtered or unexported fields
}
func NewQueryHelper ¶
func NewQueryHelper(pool Querier) *QueryHelper
Click to show internal directories.
Click to hide internal directories.