Welcome Guest, Not a member yet? Register   Sign In
query helper methods and transactions
#2

I haven't tested this myself but have you tried running insert_id() and affected_rows() before calling trans_complete()? I'd imagine that once trans_complete() is called, insert_id() and affected_rows() would no longer be tied to the queries run from within the transaction.
Reply


Messages In This Thread
RE: query helper methods and transactions - by Nichiren - 03-11-2015, 11:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB