[2018-11-26 17:57:09] pro.ERROR: Call to undefined method Jenssegers\Mongodb\Query\Builder::compileWhereDate() {"userId":"5bfbada69dc6d67f4e0fdb4b","email":"[email protected]","exception":"[object] (BadMethodCallException(code: 0): Call to undefined method Jenssegers\Mongodb\Query\Builder::compileWhereDate() at /Users/a/Downloads/fakajun/laravel/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php:50)
[stacktrace]
"}
i have the same problem Call to undefined method Jenssegers\Mongodb\Query\Builder::compileWhereDate()"
any solutions ?
same issue
Cant believe this issue is still unresolved but closed
@AkshayHere do you have same problem?
Yes.
Below is the same line of code i wrote in laravel
$submittedApplications = Application::whereIn('currentStatusCode', ['POLICY'])->whereDate('created_at', Carbon::now()->subDays(7))->get();
I got the following error while execution
`[2020-04-01 15:12:56] dev.ERROR: Call to undefined method Jenssegers\Mongodb\Query\Builder::compileWhereDate() {"exception":"[object] (BadMethodCallException(code: 0): Call to undefined method Jenssegers\Mongodb\Query\Builder::compileWhereDate() at /home/hladmin/dennydev/hlas_pas2_akshay/laravel/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php:50)
[stacktrace]
I referenced to this stackoverflow solution
https://stackoverflow.com/questions/46731298/laravel-search-for-records-7-days-old-only
Cant believe this issue is still unresolved but closed
Its closed because it's a duplicate https://github.com/jenssegers/laravel-mongodb/issues/1536
It's not implemented yet, yes, after many years.
Next time search for issues and check for labels.
Sorry but was unable to find any reference to the open issue.
Thanks a lot for the immediate response.