What’s the best way for checking if some method in model or anywhere else was correctly carried out?
Is this a good way?
Model:
$data[\'field
try with these
// INSERT
$this->db->insert_id();
// UPDATE and DELETE
$this->db->affected_rows();
// SELECT
$this->db->num_rows();