Versions in this module Expand all Collapse all v1 v1.2.1 Oct 23, 2025 v1.2.0 Oct 16, 2025 Changes in this version + var ErrIsNotSupportedByThisDriver = errors.New("is not supported by this driver") + var ErrTransactionAlreadyClosed = errors.New("transaction already closed") + func NewTx(stream *tarantool.Stream) sqlex.Tx + type Connection interface + Close func() error + Do func(req tarantool.Request) *tarantool.Future + NewStream func() (*tarantool.Stream, error) + type DB struct + func Open(dsn string) (*DB, error) + 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 bool + func (Done) LastInsertId() (int64, error) + func (v Done) RowsAffected() (int64, error) + type Stmt struct + func (s *Stmt) ExecContext(ctx context.Context, args ...any) (sqlex.Result, error)