Hello,
We found another issue in the query builder. Regarding to this example from the documentation you can provide an array with values as a second argument. Those values then should replace the question marks.
DB::table('orders')->whereRaw('price > IF(state = "TX", ?, 100)', [200])
But the array with values is ignored.
SELECT * FROM `orders` WHERE price > IF(state = "TX", ?, 100)
Instead of
SELECT * FROM `orders` WHERE price > IF(state = "TX", 200, 100)
It seams that the params argument is totally ignored in the whereRaw method. No need to rush on this one, we can work around it for the time being.