PHP-SQL-Parser icon indicating copy to clipboard operation
PHP-SQL-Parser copied to clipboard

Handle comments in FromBuilder

Open stollr opened this issue 1 year ago • 0 comments

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.

stollr avatar Dec 23 '23 15:12 stollr