I have function in my codeigniter model returning the function insert_id() I am using Oracle11g, Does anyone know how to return the last inserted record in codeigniter using Oracle DB Here is an example of what I will like to do
public function test_insert($data)
{
$this->db->insert('PERFORMANCE', $data);
return $this->db->insert_id();
}
Your help will be well appreciated. Thank you.