-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Can't set subquery as WHERE condition. #1775
Comments
There is a different way to set the subquery in CodeIgniter.
In the above example, you can see the subquery is mentioned in the where condition, where $value parameter is null and $escape is false. related to this, I have created the test cases for the same. Refer #1906. |
3 tasks
Or through query grouping. |
lonnieezell
added a commit
that referenced
this issue
Apr 3, 2019
SubQuery related test cases w.r.t #1775
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The reason is in
whereHaving()
method:I am wondering if we could introduce method which allows us to turn off filtering operators from "field" names.
I think the solution will be:
or intruduce new method like
escapeFields(bool $escape = true)
The text was updated successfully, but these errors were encountered: