Closed Nelwhix closed 1 day ago
Also watching this 👀
Hey Thanks for reporting the issue. I'm investigating it at the moment. Looks like Laravel 11 has groupLimit functionality which generates queries unsupported by SingleStore. Will try to fix this
This should be fixed by https://github.com/singlestore-labs/singlestoredb-laravel-driver/pull/87 I created a new release (v1.5.5) which contains this fix.
@Nelwhix @JustSteveKing Can you check and confirm, if it works?
@Nelwhix @JustSteveKing Can you check and confirm, if it works?
Will let you know, thanks for the quick turn around!
Thank you @AdalbertMemSQL 🎊
Hi SingleStore Team,
I have been having a great experience using the SingleStore Laravel driver across several projects. However, after updating to Laravel 11, I started encountering an error when performing find or first queries using the Eloquent ORM. Interestingly, the error does not occur with get queries.
Here is the error message I am receiving:
Query:
This issue occurs on both SingleStore Cloud and the SingleStoreDB Dev Image. I am using the SingleStore Laravel driver version 1.5.4.
Environment Details:
Laravel version: 11.13.0 PHP version: 8.2.19 SingleStore version: 8.5.17 (both cloud and dev image) I suspect the issue might be related to how user-defined variables are handled in the generated query. Could you please investigate this and provide guidance or a fix?
Thank you for your assistance!