Skip to content

romberli/sql-parser-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sql-parser-go

sql-parser-go is a simple sql parser, for now, it only implements the lexer part.

Build

go build -o parser main.go

How to use

./parser nfa --sql="select col1, col2 from t01 where id <= 100 and col1 = 'abc'"

or

./parser dfa --sql="select col1, col2 from t01 where id <= 100 and col1 = 'abc'"

Document

document of lexer

About

a simple sql parser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages