Documentation
¶
Index ¶
- type DB
- func (d *DB) Dialect() cuttle.Dialect
- func (d *DB) DispatchBatchR(ctx context.Context, b *cuttle.BatchR) error
- func (d *DB) DispatchBatchRW(ctx context.Context, b *cuttle.BatchRW) error
- func (d *DB) ExecFunc(ctx context.Context, handler cuttle.TxFunc[cuttle.Exec], stmt string, ...) error
- func (d *DB) QueryFunc(ctx context.Context, handler cuttle.TxFunc[cuttle.Rows], stmt string, ...) error
- func (d *DB) QueryRowFunc(ctx context.Context, handler cuttle.TxFunc[cuttle.Row], stmt string, ...) error
- func (d *DB) RTx(ctx context.Context, f cuttle.RTxFunc) error
- func (d *DB) WTx(ctx context.Context, f cuttle.WTxFunc) error
- type Exec
- type RTx
- func (t *RTx) DispatchBatchR(ctx context.Context, b *cuttle.BatchR) error
- func (t *RTx) Query(ctx context.Context, stmt string, args ...any) (cuttle.Rows, error)
- func (t *RTx) QueryFunc(ctx context.Context, handler cuttle.TxFunc[cuttle.Rows], stmt string, ...) error
- func (t *RTx) QueryRow(ctx context.Context, stmt string, args ...any) (cuttle.Row, error)
- func (t *RTx) QueryRowFunc(ctx context.Context, handler cuttle.TxFunc[cuttle.Row], stmt string, ...) error
- type Row
- type Rows
- type WTx
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) DispatchBatchR ¶
func (*DB) DispatchBatchRW ¶
func (*DB) QueryRowFunc ¶
type Exec ¶
type Exec struct {
// contains filtered or unexported fields
}
func (*Exec) RowsAffected ¶
type RTx ¶
type RTx struct {
// contains filtered or unexported fields
}
func (*RTx) DispatchBatchR ¶
Click to show internal directories.
Click to hide internal directories.