Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB interface {
bun.IConn
bun.IDB
PingContext(ctx context.Context) error
// RunInTx the mapping of this method here is necessary because in bun.IDB there is no RunInTx method and
// in no other interface, so we need to add a declaration to make it available.
RunInTx(ctx context.Context, opts *sql.TxOptions, fn func(ctx context.Context, tx bun.Tx) error) error
Close() error
}
Click to show internal directories.
Click to hide internal directories.