-
Notifications
You must be signed in to change notification settings - Fork 23
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
[BUG] whereDate queries not being displayed #360
Comments
Hi Vicente, I am on Laravel v11.39.1, and I could not replicate the problem. Both queries appear on the app. Would you consider upgrading your Laravel version as test? ds()->queriesOn();
User::whereDate('email_verified_at', now())->count();
User::where('email_verified_at', now()->addDay())->count();
ds()->queriesOff(); |
@dansysanalyst maybe unrelated, but what is your database? Mine is Postgres |
✅ Confirmed issue in PGSQL. I had it tested with MySQL and SQLite |
@luanfreitasdev: This seems to be an issue with the "prettify" and the double colon in the app "select count(*) as aggregate from "users" where "email_verified_at"::date = '2012-01-01'" @vicenterusso could you please verify if the query shows up when you toggle off the prettify. I get: Thanks :) |
Yes, confirmed. Shows up when toggle is off. Any chance to fix it? |
Information
Have you searched through other issues to see if your problem is already reported or has been fixed?
Did you read the documentation?
Have you tried to reconfigure LaraDumps?
To configure LaraDumps, run:
php artisan ds:init
.Software Version
You can run
composer show -i
andnpm list
to list installed package with their versions.What is your project Environment?
Describe the bug
What happened?
All queries are displayed, except for
whereDate
Steps to Reproduce the problem
Just query any eloquent model with
whereDate
ahd check Laradumps. The request is there, the controller and the line, but the query itself is notExtra information
Screenshots
The text was updated successfully, but these errors were encountered: