sql-parser-go

command module
v0.0.0-...-dcc2aae Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
ast

Jump to

Keyboard shortcuts

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