Laravel Version
11.30
PHP Version
8.3.6
Database Driver & Version
PostgreSQL 17
Description
Binding parameters is not supported for drivers other than MySQL and MariaDB, because in prepareBindingsForUpdate(), only MySQL and MariaDB perform the action
$values = Arr::flatten(array_map(fn ($value) => value($value), $values));
Other drivers do not include this step
#50030
Steps To Reproduce
Order::whereIn('id', [1,2,3])->update([ 'status' => DB::query()->selectRaw("CASE `{$uniqueKey}` {$cases} ELSE `{$column}` END", $bindings) ])