laravel-ray: Ray no longer shows the actual executed query, instead shows the query with pdo placeholders
Describe the bug Ray was showing the actual query exectuded in the database
Versions Ray version (you can see this in “About Ray”): 2.6.5.0
You can use composer show to get the version numbers of:
- spatie/ray package version: 1.37.2
- spatie/laravel-ray package version (if applicable): 1.32.6
PHP version: 8.1 Laravel version: 9.52.15
To Reproduce Steps to reproduce the behavior:
- Execute any query with eloquent or query builder using a parameter for a where clause
Expected behavior Ray should show the query executed with all the bindings properly replaced, one could copy and paste that query directly into TablePlus and execute. That is no longer possible Now it shows the placeholders of the pdo query. To make things worse it doesn’t even include the bindings
Desktop (please complete the following information):
- OS: Windows 10 Pro
- Version: 22H2
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 1
- Comments: 17 (3 by maintainers)
@pablosebastianr we are currently invetigating this to see if we can come up with a sensible solution that works in both Laravel <= 9 and Laravel > 9. I hope to give an update on this in the upcoming week.
More than five months of this issue and still nothing. Laravel 11 is close to being released so they probably won’t spend any time on this, considering all the packages they have
I upgraded to the latest spatie/laravel-ray version hoping for a “stealth” fix in the latests releases… No luck, still broken…
And yesterday I got the email from Spatie reminding me the Ray license is about to expire… Fantastic.
Any update on this issue ?
Is there any way of downloading and installing older versions of Ray ?
Being able to see the actual query that was executed it’s, at least for me, a HUGE part of the utility of this tool