Skip to content

SqlParser implement in golang , from TiDB ( PingCap ) , you can use this module independently

License

Notifications You must be signed in to change notification settings

ruiaylin/sqlparser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The most full-featured MySQL's SQL parser implement in golang at present.

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

About

SqlParser implement in golang , from TiDB ( PingCap ) , you can use this module independently

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages