Table column

Hi, I have a db table that has field with json/array values.

   'column1' => 'columnvalue1',
   'column2' => 'columnvalue2',
   'column3' => [
      'key1' => 'value1',
      'key2' => 'value2',
      'key3' => 'value3',
   ]


Output should be

   'column1' => 'columnvalue1',
   'column2' => 'columnvalue2',
   'key1' => 'value1',
   'key2' => 'value2',
   'key3' => 'value3'

How can I do this?
Was this page helpful?