codeigniter 4 inserted id code example
Example: codeigniter 4 query builder get inserted id
$query = $this->db->table($this->table)->insert($data);
return $query->resultID;
$query = $this->db->table($this->table)->insert($data);
return $query->resultID;