Documentation ¶
Overview ¶
Package pgxdb provides a sqlstore.Database implementation for a PostgreSQL database accessed through the github.com/jackc/pgx package.
Index ¶
- type Database
- func (d *Database) Delete(ctx context.Context, id string) error
- func (d *Database) Insert(ctx context.Context, id string, data []byte) error
- func (d *Database) Load(ctx context.Context, id string) (updatedAt time.Time, data []byte, err error)
- func (d *Database) Update(ctx context.Context, id string, data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
Database implements the sqlstore.Database interface for a PostgreSQL database.
Click to show internal directories.
Click to hide internal directories.