We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87f2f1c commit 13c7ea3Copy full SHA for 13c7ea3
src/LaravelBatch.php
@@ -62,7 +62,7 @@ public function update($table, $values, $index)
62
. 'ELSE `'.$k.'` END), ';
63
}
64
65
- $query = "UPDATE `$table` " . substr($cases, 0, -2) . " WHERE `$index` IN(" . implode(',', $ids) . ");";
+ $query = "UPDATE `$table` SET " . substr($cases, 0, -2) . " WHERE `$index` IN(" . implode(',', $ids) . ");";
66
67
return DB::statement($query);
68
0 commit comments