You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the feedback @ilejohn-official. This new methods have been added last week in Laravel (by laravel/framework#50344). Would you like to open a PR and add it to laravel-mongodb 4.2?
You need to upgrade to Laravel v10.47+ to get this new feature. Otherwise you fallback to the the dynamicWhere mechanism that doesn't work as you expect.
I opened #2763 to add tests on this feature. But nothing needs to be done to support this feature as soon as you upgrade to a version of Laravel that supports it.
Description:
The
whereAny
andwhereAll
query are not generating accurate mongo queries as it does in SQL. https://laravel.com/docs/10.x/queries#where-any-all-clausesSteps to reproduce
whereAny
orwhereAll
query on a collectiontoMql()
to see the query outputExpected behaviour
for example a
whereAny
queryshould look like this
Actual behaviour
Instead this is what I see
The text was updated successfully, but these errors were encountered: