Versions in this module Expand all Collapse all v3 v3.80.13 Sep 25, 2024 v3.80.12 Sep 24, 2024 Changes in this version + var ErrInconsistentArgs = errors.New("inconsistent args") + var ErrUnexpectedNumericArgZero = errors.New("unexpected numeric arg $0. Allowed only $1 and greater") + func Params(args ...interface{}) ([]*params.Parameter, error) + type AutoDeclare struct + func (m AutoDeclare) RewriteQuery(query string, args ...interface{}) (yql string, newArgs []interface{}, err error) + type Bind interface + RewriteQuery func(sql string, args ...interface{}) (yql string, newArgs []interface{}, _ error) + func Sort(bindings []Bind) []Bind + type Bindings []Bind + func (bindings Bindings) RewriteQuery(query string, args ...interface{}) (yql string, parameters []*params.Parameter, err error) + type NumericArgs struct + func (m NumericArgs) RewriteQuery(sql string, args ...interface{}) (yql string, newArgs []interface{}, err error) + type PositionalArgs struct + func (m PositionalArgs) RewriteQuery(sql string, args ...interface{}) (yql string, newArgs []interface{}, err error) + type TablePathPrefix string + func (tablePathPrefix TablePathPrefix) NormalizePath(folderOrTable string) string + func (tablePathPrefix TablePathPrefix) RewriteQuery(query string, args ...interface{}) (yql string, newArgs []interface{}, err error)