Welcome Guest, Not a member yet? Register   Sign In
Can CI handling this db error using a library>
#2

[eluser]Aken[/eluser]
You can use DB transactions to test for a valid change - those are already built into most of the common DB drivers in CI.

You could also do some verifying of unique data prior to inserting, so you'll know beforehand if there will be an error.


Messages In This Thread
Can CI handling this db error using a library> - by El Forum - 03-20-2012, 06:37 PM
Can CI handling this db error using a library> - by El Forum - 03-20-2012, 08:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB