Regex Token Pattern for NAMED_TOKEN does not support sql cast operator ::
For example a query like this:
Select mydate::date from mytable;
will return a place holder ':date' instead of ignoring this.
fixed by adjusting the regex to ignore the operator.
regex pattern does not support sql casting using :: operator for example select mydate::date from mytable;
thank you for positing this Pull Request. I have automatically opened an issue on our Jira Bug Tracker for you with the details of this Pull-Request. See the Link:
Could you please add a test case ? https://github.com/doctrine/dbal/blob/master/tests/Doctrine/Tests/DBAL/SQLParserUtilsTest.php#L14
add test for ticket gh-259
fix :: operator in sql parser
done, sorry for the delay