Welcome Guest, Not a member yet? Register   Sign In
postgres UPDATE query RETURNING data help
#1

[eluser]_TubbZ_[/eluser]
Hello,

I am using the database query method to execute an update to my postgres database and in the query I am using the RETURNING sql statement to return a value from the updated record. My problem is that CI detects that its an update query and throws the result set away. Is there a way I can get to this returned data? Or will I just have to execute another query to get the result without having to fiddle with CI System files?

Any help is greatly appreciated, Thanks.


Messages In This Thread
postgres UPDATE query RETURNING data help - by El Forum - 03-16-2011, 07:50 AM
postgres UPDATE query RETURNING data help - by El Forum - 03-16-2011, 05:43 PM



Theme © iAndrew 2016 - Forum software by © MyBB