Welcome Guest, Not a member yet? Register   Sign In
Should I check for errors after DB updates ?
#1

[eluser]flaviog[/eluser]
I am currently checking for errors after I modify data in my DB. At the end of each of my functions in my models, I check if changes occured with a if ($this->db->affected_rows())

Should I be doing this, or does CodeIgniter's Database Class already verify for errors and I did not find about it ? If it does, how can I check for errors ?

Thank you.


Messages In This Thread
Should I check for errors after DB updates ? - by El Forum - 05-29-2009, 10:16 AM
Should I check for errors after DB updates ? - by El Forum - 05-29-2009, 11:21 AM
Should I check for errors after DB updates ? - by El Forum - 05-29-2009, 12:36 PM
Should I check for errors after DB updates ? - by El Forum - 05-29-2009, 12:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB