GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - gooops/sqlparser: SQL Parser implemented in GoLang

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

25 Commits
25 Commits

Folders and files

NameName
Last commit message
Last commit date
dependency
dependency
 
 
.gitignore
.gitignore
 
 
LICENSE.md
LICENSE.md
 
 
Makefile
Makefile
 
 
analyzer.go
analyzer.go
 
 
analyzer_test.go
analyzer_test.go
 
 
ast.go
ast.go
 
 
ast_test.go
ast_test.go
 
 
parse_test.go
parse_test.go
 
 
parsed_query.go
parsed_query.go
 
 
parsed_query_test.go
parsed_query_test.go
 
 
readme.md
readme.md
 
 
rewriter.go
rewriter.go
 
 
rewriter_test.go
rewriter_test.go
 
 
sql.go
sql.go
 
 
sql.y
sql.y
 
 
token.go
token.go
 
 
tracked_buffer.go
tracked_buffer.go
 
 

Repository files navigation

##Notice

The backbone of this repo is extracted from youtube/vitess.

Inside youtube/vitess there is a very nicely written sql parser. However as it's not a self-contained application, I created this one. It applies the same LICENSE as youtube/vitess.

##What's More In this REPO

  • Rewrite SQL Queries by self-defined rewriter
  • Able to parse Create Table statements way much better

##Usage

import (
    "github.com/xwb1989/sqlparser"
)

Then use

sqlparser.Parse(sql)

See parse_test.go for more Parse usage.

See rewriter_test.go for Rewriter usage.

About

SQL Parser implemented in GoLang

Resources

Readme
BSD-3-Clause license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.