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
- CREATE AGGREGATE FUNCTION not handled
- Error in MySQL: This parameter conflicts with "ADD".(near CHECK)
- Error when setting system variable to `ON`
- INSTALL syntax
- uuid datatype not recognized for MariaDB 10.7+
- Avoid back ticks on INSERT INTO columns with mode POSTGRESQL
- Fix lex number at start of name followed by _ or $
- UUID column type
- Build insert statement with context's quote style
- ErrorException: Using null as an array offset is deprecated, use an empty string instead
- Docs
- PHP not yet supported