Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[6.x] SQLite JSON update support with json_patch #31492
This is a retry of #31472, but using
By grouping the nested JSON updates (selectors using
An Eloquent update query like the following will update the desired columns properly:
Customer::whereIn('id', [1, 2, 3])->update([ 'meta->size' => 'L', 'options->security' => ['2fa'], 'group_id' => 30, 'meta->color' => 'Yellow', ]);
This PR contains no beaking change as far as I know.