postgresql

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const BIT_LITERAL = 57352
View Source
const FLOAT = 57349
View Source
const HEX = 57350
View Source
const HEXNUM = 57351
View Source
const ID = 57347
View Source
const INTEGRAL = 57348
View Source
const USE = 57346

Variables

This section is empty.

Functions

func Parse

func Parse(sql string) ([]tree.Statement, error)

func ParseOne

func ParseOne(sql string) (tree.Statement, error)

Types

type Lexer

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

func NewLexer

func NewLexer(dialectType dialect.DialectType, sql string) *Lexer

func (*Lexer) AppendStmt

func (l *Lexer) AppendStmt(stmt tree.Statement)

func (*Lexer) Error

func (l *Lexer) Error(err string)

func (*Lexer) Lex

func (l *Lexer) Lex(lval *yySymType) int

Jump to

Keyboard shortcuts

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