parser_postgres

package
v0.0.0-...-6131656 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(sch *config.Schema) parser.Parser

func ParseDriverValue

func ParseDriverValue(node tree.Expr) (*tree.NumVal, *tree.StrVal, *tree.Placeholder, bool)

func ParseWhereToFields

func ParseWhereToFields(whereExpr tree.Expr) []*binaryExpr

Types

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

func (*Parser) ConvType

func (p *Parser) ConvType(dbType string) (genType string)

func (*Parser) Parse

func (p *Parser) Parse(sql string) (*parser.ParsedQuery, error)

Jump to

Keyboard shortcuts

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