sql

package
v0.1.54 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IntValueRE = regexp.MustCompile(`^\d+`)
View Source
var RealValueRE = regexp.MustCompile(`^(((\+|-)?([0-9]+)(\.[0-9]+)?)|((\+|-)?\.?[0-9]+))([Ee]\d+)?`)
View Source
var StringValueRE = regexp.MustCompile(`^('(([^']|'')*)'|"([^"]*)")`)

Functions

func As

func As(as *string) parse.Func

func ColumnType

func ColumnType(res *string) parse.Func

func ColumnValueLess

func ColumnValueLess(a, b colval.ColumnValue) bool

func ColumnValueParser

func ColumnValueParser(cv *colval.ColumnValue) parse.Func

func Expression

func Expression(res **types.Evaluator) p.Func

func FindColumnIndex

func FindColumnIndex(s *types.Schema, name string) *int

func FromItemAlias

func FromItemAlias(res *string) parse.Func

func FromItemAs

func FromItemAs(as *string) parse.Func

func ResolveColumnRef

func ResolveColumnRef(s *types.Schema, name string, schema **types.Schema, columnRes **types.SchemaColumn) error

func SQLName

func SQLName(res *string) parse.Func

func Schema

func Schema(s *types.Schema, errs *[]error) parse.Func

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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