sqlparser

module
v0.0.0-...-d09a525 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2017 License: Apache-2.0

README

This parser is part of TiDB from PingCap

You can use this module independently

Install the package with:

go get github.com/ruiaylin/sqlparser

Make the module before use:

cd $GOPATH/src/github.com/ruiaylin/sqlparser/
make 

Import it with:

import "github.com/ruiaylin/sqlparser/parser"

and use parser as the package name inside the code.

Do the test by the following command
➜  parser git:(master) cd test ; go test parser_test.go 
ok  	command-line-arguments	0.044s
The Licence port from TiDB

Hope you guys enjoy this parser

Directories

Path Synopsis
Package ast is the abstract syntax tree parsed from a SQL statement by parser.
Package ast is the abstract syntax tree parsed from a SQL statement by parser.
dependency
goyacc
Goyacc is a version of yacc generating Go parsers.
Goyacc is a version of yacc generating Go parsers.

Jump to

Keyboard shortcuts

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