-
Notifications
You must be signed in to change notification settings - Fork 225
Order By Rand() error #35
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
Labels
Comments
Thanks for reporting this! I will get this updated ASAP. |
Just pushed 0.2.10 ... give that a try, please let me know how it goes. :) Thanks again! |
Thanks a lot ! It works perfectly =) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue
Undefined index Column
Environment
Laravel Version: 5.5.23
Laravel Model Caching Package Version: 0.2.9
PHP Version: 7.0.26
Homestead Version: none
Operating System & Version: name x.y.z
When I use orderByRaw('RAND()') in a model, I get These error. The simple solution is to test if the key exists.
Stack Trace
Solution :
The text was updated successfully, but these errors were encountered: