Versions in this module Expand all Collapse all v1 v1.0.1 Apr 11, 2019 Changes in this version + const DoNothing + const Upsert + func ReportInsert(log logging.LogSink, started time.Time, mainTable string, sql string, ...) + func ReportSelect(log logging.LogSink, started time.Time, mainTable string, sql string, ...) + func ReportUpdate(log logging.LogSink, started time.Time, mainTable string, sql string, ...) + func SingleRow(rf func(RowDef)) func(FieldSet) + type FieldDefFunc func(fmt, col string, vals ...interface{}) + type FieldSet interface + InsertSQL func(table string, conflict string) string + InsertValues func() []interface{} + Potent func() bool + Row func(func(RowDef)) + RowCount func() int + func NewFieldset() FieldSet + type Inserter interface + Exec func(table string, conflict string, fn func(FieldSet)) error + func NewInserter(ctx context.Context, log logging.LogSink, tx *sql.Tx) Inserter + type RowDef interface + CF func(fmt string, col string, vals ...interface{}) + FD func(fmt string, col string, vals ...interface{}) + KV func(col string, val interface{})