Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInconsistentArgs = errors.New("inconsistent args") ErrUnexpectedNumericArgZero = errors.New("unexpected numeric arg $0. Allowed only $1 and greater") )
Functions ¶
Types ¶
type AutoDeclare ¶
type AutoDeclare struct{}
func (AutoDeclare) RewriteQuery ¶
func (m AutoDeclare) RewriteQuery(query string, args ...interface{}) ( yql string, newArgs []interface{}, err error, )
type Bind ¶
type NumericArgs ¶
type NumericArgs struct{}
func (NumericArgs) RewriteQuery ¶
func (m NumericArgs) RewriteQuery(sql string, args ...interface{}) (yql string, newArgs []interface{}, err error)
type PositionalArgs ¶
type PositionalArgs struct{}
func (PositionalArgs) RewriteQuery ¶
func (m PositionalArgs) RewriteQuery(sql string, args ...interface{}) ( yql string, newArgs []interface{}, err error, )
type TablePathPrefix ¶
type TablePathPrefix string
func (TablePathPrefix) NormalizePath ¶
func (tablePathPrefix TablePathPrefix) NormalizePath(folderOrTable string) string
func (TablePathPrefix) RewriteQuery ¶
func (tablePathPrefix TablePathPrefix) RewriteQuery(query string, args ...interface{}) ( yql string, newArgs []interface{}, err error, )
Click to show internal directories.
Click to hide internal directories.