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 ¶
func ToYdb ¶
func ToYdb(args ...interface{}) (params []table.ParameterOption, _ error)
Types ¶
type AutoDeclareBind ¶
type AutoDeclareBind struct{}
func (AutoDeclareBind) RewriteQuery ¶
func (m AutoDeclareBind) RewriteQuery(query string, args ...interface{}) ( yql string, newArgs []interface{}, err error, )
type NumericArgsBind ¶
type NumericArgsBind struct{}
func (NumericArgsBind) RewriteQuery ¶
func (m NumericArgsBind) RewriteQuery(sql string, args ...interface{}) ( yql string, newArgs []interface{}, err error, )
type PositionalArgsBind ¶
type PositionalArgsBind struct{}
func (PositionalArgsBind) RewriteQuery ¶
func (m PositionalArgsBind) RewriteQuery(sql string, args ...interface{}) ( yql string, newArgs []interface{}, err error, )
type TablePathPrefixBind ¶
type TablePathPrefixBind string
func (TablePathPrefixBind) NormalizePath ¶
func (tablePathPrefix TablePathPrefixBind) NormalizePath(folderOrTable string) string
func (TablePathPrefixBind) RewriteQuery ¶
func (tablePathPrefix TablePathPrefixBind) RewriteQuery(query string, args ...interface{}) ( yql string, newArgs []interface{}, err error, )
Click to show internal directories.
Click to hide internal directories.