Versions in this module Expand all Collapse all v1 v1.5.0 Oct 24, 2022 Changes in this version + const Gremlin + const MySQL + const Postgres + const SQLite + type DebugDriver struct + func (d *DebugDriver) Exec(ctx context.Context, query string, args, v interface{}) error + func (d *DebugDriver) Query(ctx context.Context, query string, args, v interface{}) 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 interface{}) error + func (d *DebugTx) Query(ctx context.Context, query string, args, v interface{}) 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(...interface{})) Driver + func DebugWithContext(d Driver, logger func(context.Context, ...interface{})) Driver + type ExecQuerier interface + Exec func(ctx context.Context, query string, args, v interface{}) error + Query func(ctx context.Context, query string, args, v interface{}) error + type Tx interface + func NopTx(d Driver) Tx