Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Provider ¶
type Provider interface {
PrepareContext(ctx context.Context, query string) (Stmt, error)
ExecContext(ctx context.Context, query string, args ...any) (Result, error)
QueryContext(ctx context.Context, query string, args ...any) (Rows, error)
QueryRowContext(ctx context.Context, query string, args ...any) Row
BeginTx(ctx context.Context, opts *sql.TxOptions) (Tx, error)
}
Provider is an interface that wraps the standard sql.DB interface.
type Row ¶
func NewRowWrap ¶
type Rows ¶
func NewRowsWrap ¶
Click to show internal directories.
Click to hide internal directories.