Hi Dan, I had a look at https://github.com/udan11/sql-parser/tree/master/src/Statements
I know that this is work in progress but hope that you will handle also other statements (specifically, DML statements).
As an example, the current parser handles the CREATE TABLE statement.
On Wed, May 27, 2015 at 10:50 PM, Marc Delisle marc@infomarc.info wrote:
Hi Dan, I had a look at https://github.com/udan11/sql-parser/tree/master/src/Statements
I know that this is work in progress but hope that you will handle also other statements (specifically, DML statements).
As an example, the current parser handles the CREATE TABLE statement.
-- Marc Delisle (phpMyAdmin)
Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
Hello Marc,
I do have in mind to support all types of statements, including those used for data definition (i.e. ALTER, CREATE, DROP, RENAME and TRUNCATE). I will make these a priority and implement them next.
When the library will be finished, all statements mentioned here [1] will be able to be parsed.
[1] https://github.com/udan11/sql-parser/blob/master/src/Parser.php#L62