Documentation
¶
Index ¶
- Variables
- func NewTx(stream *tarantool.Stream) sqlex.Tx
- type Connection
- type DB
- func (db *DB) BeginTx(ctx context.Context, _ *sql.TxOptions) (sqlex.Tx, error)
- func (db *DB) Close() error
- func (db *DB) ExecContext(ctx context.Context, query string, args ...any) (sqlex.Result, error)
- func (db *DB) Ping() error
- func (db *DB) QueryContext(ctx context.Context, query string, args ...any) (sqlex.Rows, error)
- type Done
- type Stmt
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrIsNotSupportedByThisDriver = errors.New("is not supported by this driver")
View Source
var (
ErrTransactionAlreadyClosed = errors.New("transaction already closed")
)
Functions ¶
Types ¶
type Connection ¶
type Done ¶
type Done bool
Done implements [Result] for an INSERT or UPDATE operation which mutates a number of rows.
func (Done) LastInsertId ¶
func (Done) RowsAffected ¶
Click to show internal directories.
Click to hide internal directories.