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
- sscanf() has been disabled for security reasons
- Parser fails for updates that include subqueries for source tables
- LIMIT SYNTAX error when using SELECT FOR UPDATE
- Relevant problems about missing join module in update statement of sqlparser are expected to be repaired
- SET statement not properly parsed or build
- Subqueries in WHERE clause
- Incorrect parsing of WHERE LIKE with parameter
- Re-formating LIMIT destroys DELETE and UPDATE queries
- ContextMariaDb100133 does not exist
- Notice - Undefined index: ORDER BY
- Docs
- PHP not yet supported