Versions in this module Expand all Collapse all v1 v1.3.1 Jan 21, 2020 Changes in this version type Varchar + func NewVarchar(s string) Varchar v1.3.0 Jan 15, 2020 Changes in this version + type Varchar []uint8 + func (v Varchar) String() string v1.2.0 Dec 19, 2019 Changes in this version + func Execute(ctx context.Context, query string, fn ExecuteFunc, rows ...interface{}) (affected int64, err error) + func Query(ctx context.Context, query string, fn QueryScanRangeFn, args ...interface{}) (err error) + func Scan(rows *sql.Rows, v interface{}) (err error) + func SetLog(logger Log) + func WithPreparable(parent context.Context, p Preparable) context.Context + type ExecuteFunc func(ctx context.Context, stmt *sql.Stmt, row interface{}) (result sql.Result, err error) + type Log interface + Printf func(formatter string, args ...interface{}) + type NullJson struct + Bytes []byte + Valid bool + func NewJson(v interface{}) (*NullJson, error) + type NullTime struct + Time time.Time + Valid bool + func NowTime() *NullTime + func (n *NullTime) Scan(value interface{}) error + func (n NullTime) Value() (driver.Value, error) + type Preparable interface + PrepareContext func(ctx context.Context, query string) (*sql.Stmt, error) + type QueryScanRangeFn func(ctx context.Context, rows *sql.Rows, rowErr error) (err error) Other modules containing this package github.com/pharosnet/dalc/v2