insert function in codeigniter4 insert multiple reocrds code example
Example: insert multiple data codeigniter
$arrayOfData = [
[
'COLUMN' => 'value'
....
....
],
[
'COLUMN' => 'value1'
....
....
]
]
this->db->insert_batch('TABLE_NAME', $arrayOfData);