validate

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd(n ast.Node, name, cmd string) error

func FuncCall

func FuncCall(c *catalog.Catalog, cs config.CombinedSettings, n ast.Node) error

func In added in v1.18.0

func In(c *catalog.Catalog, n ast.Node) error

func InsertStmt

func InsertStmt(stmt *ast.InsertStmt) error

func ParamRef

func ParamRef(n ast.Node) (map[int]bool, bool, error)

func ParamStyle

func ParamStyle(n ast.Node) error

A query can use one (and only one) of the following formats: - positional parameters $1 - named parameter operator @param - named parameter function calls sqlc.arg(param)

Types

This section is empty.

Jump to

Keyboard shortcuts

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