Answers for "Updating JSON Columns"

0

Updating JSON Columns

$affected = DB::table('users')
              ->where('id', 1)
              ->update(['options->enabled' => true]);
Posted by: Guest on April-27-2021

Browse Popular Code Answers by Language