I have problem using query whereraw on laravel 5.5 postgresql, for this case i want to select data by colors. Data example Source postgresql documentation postgres. I'm success to try on execute sql like this success example execute query. But fail using laravel example source code. Error on laravel
Asked
Active
Viewed 242 times
0
-
You won't get much help by posting links to some pics... Better make an effort and post text / code (copy&paste it's not that hard to do). – סטנלי גרונן Jan 24 '18 at 11:46
1 Answers
0
The problem is that your statement contains a question mark. When using the whereRaw method, the question mark is an expected parameter, which aren't providing in your call.
However it seems that there isn't a real solution for this issue. I suggest you take a look at Question mark operator in query, it handles about a similar issue.

Joey Reinders
- 119
- 2
- 6