Im sorry if the question seems odd and stupid but I need to know if it is possible or what.
So I have the following query that updates the status of a request record in the requests table.
$updateQ = "UPDATE requests SET status = status+1 WHERE rid = '$rid'";
if($this->db->query($updateQ))
return $this->db->select('status')->from('requests')->where('rid', $rid)->get()->row('status');
I wonder if I can get the value of the updated status field right after executing the query without running another select query.