-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
whereColumn feature missing #1651
Comments
any update about this? |
Not from my side. |
Adding a use case for whereColumn.
Unfortunately this does not work since whereColumn is not implemented: "BadMethodCallException: This method is not supported by MongoDB" MongoDb itself can do this with aggregations. I will have to solve this for now with a raw call.
|
Tracked with PHPORM-138. |
This would be possible only if we convert Query Builder to Aggregation Builder. There is some limitation on the query operators that can be used, that's why we didn't implement it in #2738. The solution would be to write an aggregation like mentioned by @peterlembke in the previous comment. |
Hi!
I think is not possible to use the
whereColumn
, right?Is there any special reason because it is not implemented?
I will be happy to help :)
The text was updated successfully, but these errors were encountered: