Welcome Guest, Not a member yet? Register   Sign In
Active Record class update() return ?
#4

[eluser]Seppo[/eluser]
I donĀ“t think is wrong returning TRUE if no row was updated... the query has been successfully executed, if you want to check the affected rows, affected_rows method will do the trick


Messages In This Thread
Active Record class update() return ? - by El Forum - 01-06-2008, 10:53 AM
Active Record class update() return ? - by El Forum - 01-06-2008, 11:19 AM
Active Record class update() return ? - by El Forum - 01-06-2008, 11:28 AM
Active Record class update() return ? - by El Forum - 01-06-2008, 02:51 PM
Active Record class update() return ? - by El Forum - 01-06-2008, 02:57 PM
Active Record class update() return ? - by El Forum - 01-06-2008, 03:08 PM
Active Record class update() return ? - by El Forum - 01-07-2008, 06:36 AM
Active Record class update() return ? - by El Forum - 01-07-2008, 08:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB