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

[eluser]tomcode[/eluser]
I've been looking into the code, update returns FALSE when one of its params is invalid, but besides that, it'll return the result of the method query(), which is a pretty monster to read. It just puzzles me that it'll return TRUE if no row has been updated.


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