Laravel update data that is an array works while insert does not
Using Laravel 9, Im able to UPDATE an empty field hole_data by posting an array of objects: JS: data = { id:1, name:'A Name', hole_data: [{…}, {…}] } await axiosClient.post('/updateholedata', data); Laravel/PHP public function updateHoleData(Request $request) { DB::table('holes') ->where('id', $request->id)…