PHP-SQL-Parser
PHP-SQL-Parser copied to clipboard
Add ignore comment option
Hello. Nice to meet you. The Parser is a good one, but I'm having a bit of trouble with it. You can parse SQL with comments, but there is an error when generating SQL from a parsed SQL containing comments. The generated SQL is a single row, so generating it with comments can be tricky. So I added a new parse option called ignore_comment. If you set it to true, the comments will be ignored and parsed. Please check the change by all means.
I will check it out after Thanksgiving and merge the PR. Thanks!!