parseutil

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UNKNOWN = iota
	QUESTION
	DOLLAR
	NAMED
	AT
)

Bindvar types supported by Rebind, BindMap and BindStruct.

Variables

This section is empty.

Functions

func BindType added in v1.1.2

func BindType(driverName string) int

BindType returns the bindtype for a given database given a drivername.

func CompileNamedQuery

func CompileNamedQuery(qs []byte, bindType int) (query string, names []string, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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