Versions in this module Expand all Collapse all v1 v1.0.0 Nov 24, 2019 Changes in this version + type Conn interface + BeginTx func(ctx context.Context, opts *TxOptions) (Tx, error) + Close func() error + Exec func(ctx context.Context, query string, args ...interface{}) (Result, error) + Ping func(ctx context.Context) error + Prepare func(ctx context.Context, query string) (Stmt, error) + Query func(ctx context.Context, query string, args ...interface{}) (*Rows, error) + QueryRow func(ctx context.Context, query string, args ...interface{}) *Row + StdConn func() *sql.Conn + type DB interface + BeginTx func(ctx context.Context, opts *TxOptions) (Tx, error) + Driver func() driver.Driver + Exec func(ctx context.Context, query string, args ...interface{}) (Result, error) + Ping func(ctx context.Context) error + Prepare func(ctx context.Context, query string) (Stmt, error) + Query func(ctx context.Context, query string, args ...interface{}) (*Rows, error) + QueryRow func(ctx context.Context, query string, args ...interface{}) *Row + StdDB func() *sql.DB + func Open(driverName, dataSourceName string) (DB, error) + func OpenDB(c driver.Connector) (DB, error) + type DBStats = sql.DBStats + type IsolationLevel = sql.IsolationLevel + type NamedArg = sql.NamedArg + func Named(name string, value interface{}) NamedArg + type NullBool = sql.NullBool + type NullFloat64 = sql.NullFloat64 + type NullInt32 = sql.NullInt32 + type NullInt64 = sql.NullInt64 + type NullString = sql.NullString + type NullTime = sql.NullTime + type Out = sql.Out + type RawBytes = sql.RawBytes + type Result = sql.Result + type Row = sql.Row + type Rows = sql.Rows + type Scanner interface + Scan func(...interface{}) error + type Stmt interface + Close func() error + Exec func(ctx context.Context, args ...interface{}) (Result, error) + Query func(ctx context.Context, args ...interface{}) (*Rows, error) + QueryRow func(ctx context.Context, args ...interface{}) *Row + StdStmt func() *sql.Stmt + type Tx interface + Commit func() error + Exec func(ctx context.Context, query string, args ...interface{}) (Result, error) + Prepare func(ctx context.Context, query string) (Stmt, error) + Query func(ctx context.Context, query string, args ...interface{}) (*Rows, error) + QueryRow func(ctx context.Context, query string, args ...interface{}) *Row + Rollback func() error + StdTx func() *sql.Tx + type TxOptions = sql.TxOptions