andersao / andersao/l5-repository

Query Expression with laravel 10 and whereRaw query

Aberta
#797 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
PHP
Estrelas
4.2k
Forks
880
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

hi
i update to laravel 10 from 9 and everywhere is use whereRaw query, i get this error:

`2023-08-16 13:11:00] local.ERROR: [ "status Code:" 0] "Object of class Illuminate\Database\Query\Expression could not be converted to string" on line of file

[2023-08-16 13:11:00] local.ERROR: Object of class Illuminate\Database\Query\Expression could not be converted to string {"userId":1,"exception":"[object] (Error(code: 0): Object of class Illuminate\\Database\\Query\\Expression could not be converted to string at /srv/www/site.com/api/vendor/laravel/framework/src/Illuminate/Database/Query/Grammars/Grammar.php:222)`

before updating, all of these queries work very will!

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.