Versions in this module Expand all Collapse all v0 v0.11.4 Jan 7, 2023 Changes in this version + const Gremlin + const MySQL + const Postgres + const SQLite + type DebugDriver struct + func (d *DebugDriver) BeginTx(ctx context.Context, opts *sql.TxOptions) (Tx, error) + func (d *DebugDriver) Exec(ctx context.Context, query string, args, v any) error + func (d *DebugDriver) ExecContext(ctx context.Context, query string, args ...any) (sql.Result, error) + func (d *DebugDriver) Query(ctx context.Context, query string, args, v any) error + func (d *DebugDriver) QueryContext(ctx context.Context, query string, args ...any) (*sql.Rows, error) + func (d *DebugDriver) Tx(ctx context.Context) (Tx, error) + type DebugTx struct + func (d *DebugTx) Commit() error + func (d *DebugTx) Exec(ctx context.Context, query string, args, v any) error + func (d *DebugTx) ExecContext(ctx context.Context, query string, args ...any) (sql.Result, error) + func (d *DebugTx) Query(ctx context.Context, query string, args, v any) error + func (d *DebugTx) QueryContext(ctx context.Context, query string, args ...any) (*sql.Rows, error) + func (d *DebugTx) Rollback() error + type Driver interface + Close func() error + Dialect func() string + Tx func(context.Context) (Tx, error) + func Debug(d Driver, logger ...func(...any)) Driver + func DebugWithContext(d Driver, logger func(context.Context, ...any)) Driver + type ExecQuerier interface + Exec func(ctx context.Context, query string, args, v any) error + Query func(ctx context.Context, query string, args, v any) error + type Tx interface + func NopTx(d Driver) Tx