Documentation
¶
Index ¶
- type DB
- func (db *DB) BeginTx(ctx context.Context, opts *sql.TxOptions) (*Tx, error)
- func (db *DB) Close() error
- func (db *DB) ExecContext(ctx context.Context, query string, args ...any) (result sql.Result, err error)
- func (db *DB) QueryContext(ctx context.Context, query string, args ...any) (rows *sql.Rows, err error)
- func (db *DB) Underlying() *sql.DB
- type Tx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) ExecContext ¶
func (*DB) QueryContext ¶
func (*DB) Underlying ¶
type Tx ¶
type Tx struct {
// contains filtered or unexported fields
}
func (*Tx) ExecContext ¶
func (*Tx) QueryContext ¶
Click to show internal directories.
Click to hide internal directories.