-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto adding Ticks #181
Comments
Hi @php- , I am wondering how you are using I can't promise I will fix it, but I can look into it. |
For example: There are many different cases as I mentioned before like Thanks |
Hi @php- It would be nice if you provide minimal, self-contained, reproducing test case that shows the problem you are reporting. |
Hi @php- , I believe you can enable / disable it via setting the parser to // https://github.com/auraphp/Aura.Sql/tree/2be02d5dfd9fdee6df199de1a19572aa490bb744/src/Parser
$parser = new \Aura\Sql\Parser\NullParser();
$pdo->setParser($parser); Remember once you unset to new parser you may want to set it again if you want to make sure other quoting related functionalities is working fine. Hope that helps to resolve your issue / use case . |
@francislavoie yes, issue still exists. The query you run might not have issues, but when you use builder like:
|
Sorry, but your code example has no reference to |
This is so annoying, for example using:
@@session.time_zone
will add ticks tosession
andtime_zone
, like this @@`session`.`time_zone`. Is there a way I can disable this feature?This also happens if you use
count(distinct x)
and many more cases.The text was updated successfully, but these errors were encountered: