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
- Syntax error using FROM and INTO @variablename
- Support for window functions like RANK
- Query error : select @test:=Auto_increment
- Derived tables should require aliases
- Add support for CREATE TABLE tbl AS query_expression
- CHECK constraints
- Aliases not supported after CASE expression
- Aliases without AS keyword
- UPDATE with SELECT not supported
- Finish implementing query types
- Docs
- PHP not yet supported