Categorygithub.com/stephenafamo/sqlparser
repositorypackage
0.0.0-20241111104950-b04fa8a26c9c
Repository: https://github.com/stephenafamo/sqlparser.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

SQL Parser

This is a Go package to parse SQL. The parsers are generated using ANTLR with the grammar mostly copied from Grammars-v4

Changes to MySQL grammar

  1. Make it able to take a BIND_PARAMETER as a valid expressionAtom
  2. Change the 3rd parameter of LEAD and LAG to take an expression instead of a number
  3. Add alias definitions in INSERT statements