bind

package
v3.43.0-rc5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMultipleQueryParameters = errors.New("only one query arg *table.QueryParameters allowed")
)

Functions

func Bind

func Bind(query, tablePathPrefix string, args ...driver.NamedValue) (
	_ string, _ *table.QueryParameters, err error,
)

func GenerateDeclareSection

func GenerateDeclareSection(args []sql.NamedArg) (string, error)

func ToValue

func ToValue(v interface{}) (_ types.Value, err error)

func ToYdbParam

func ToYdbParam(param driver.NamedValue) (table.ParameterOption, error)

Types

type Declare

type Declare struct {
	Name string
	Type string
}

func (Declare) String

func (d Declare) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL