Documentation ¶
Index ¶
- func NewMigrateDownFunc() func(sourceURL, dbURL string, log *zap.Logger, shutdowner fx.Shutdowner) error
- func NewMigrateUpFunc() func(sourceURL, dbURL string, log *zap.Logger, shutdowner fx.Shutdowner) error
- type Driver
- func (c *Driver) Close()
- func (c *Driver) CountRows(ctx context.Context, query string, args ...interface{}) (int, error)
- func (c *Driver) ExecuteQuery(ctx context.Context, query string, args ...interface{}) error
- func (c *Driver) Ping(ctx context.Context) error
- func (c *Driver) QueryRow(ctx context.Context, query string, args ...interface{}) (pgx.Row, error)
- func (c *Driver) QueryRows(ctx context.Context, query string, args ...interface{}) (pgx.Rows, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMigrateDownFunc ¶ added in v0.0.1
func NewMigrateUpFunc ¶ added in v0.0.1
Types ¶
Click to show internal directories.
Click to hide internal directories.