Documentation ¶
Index ¶
- type DBConn
- func (conn *DBConn) ExecContext(ctx context.Context, query string, args ...any) (sql.Result, error)
- func (conn *DBConn) NamedExecContext(ctx context.Context, query string, arg interface{}) (sql.Result, error)
- func (conn *DBConn) QueryxContext(ctx context.Context, query string, args ...any) (*sqlx.Rows, error)
- func (conn *DBConn) RunInTx(ctx context.Context, run func(ctx context.Context) error) error
- func (conn *DBConn) SelectContext(ctx context.Context, dest interface{}, query string, args ...interface{}) error
- type Logger
- type Transactioner
- type Tx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBConn ¶
func (*DBConn) ExecContext ¶
func (*DBConn) NamedExecContext ¶
func (*DBConn) QueryxContext ¶
type Transactioner ¶
Click to show internal directories.
Click to hide internal directories.