sql-parser
https://github.com/phpmyadmin/sql-parser
PHP
A validating SQL lexer and parser with a focus on MySQL dialect.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
PHP not yet supported3 Subscribers
Add a CodeTriage badge to sql-parser
Help out
- Issues
- Fix Window function handling that failed because of "OVER" keyword case-sensitive comparison.
- Ignore E2E test data for Git export
- Composer not installing latest version?
- row_number() over sql parse error
- [Query] Attempt to read property "keyword" on null
- Fat finger prevention: identify potential user error on bulk update
- Error validating index with sort order
- First letter of table name is missing when highlighting query
- CASE with alias is not properly parsed
- Incorrect type in SelectStatement::$expr when query has CASE-clause in selected fields
- Docs
- PHP not yet supported