PHP-SQL-Parser
PHP-SQL-Parser copied to clipboard
Handle comments in FromBuilder
The following SQL query could be parsed:
SELECT * FROM car /* test comment */ WHERE color = 'black'
but the creator was not able to generate a SQL query from the parsed tree. An UnableToCreateSQLException
with the message unknown [expr_type] = comment in "FROM" [0]
was thrown in src/PHPSQLParser/builders/FromBuilder.php
in line 103.