Welcome Guest, Not a member yet? Register   Sign In
Affected Rows won't work when using batch insert/update
#4

[eluser]WanWizard[/eluser]
It will be difficult to solve this using affected_rows(). Maybe it's better if the method returned the number instead of TRUE.

As for transactions, if an insert or update is embedded in a transaction, the data is gone after a commit. Hence the question (was possible since you got zero returned).


Messages In This Thread
Affected Rows won't work when using batch insert/update - by El Forum - 04-11-2011, 08:52 AM
Affected Rows won't work when using batch insert/update - by El Forum - 04-11-2011, 10:14 AM
Affected Rows won't work when using batch insert/update - by El Forum - 04-11-2011, 12:56 PM
Affected Rows won't work when using batch insert/update - by El Forum - 04-11-2011, 02:04 PM
Affected Rows won't work when using batch insert/update - by El Forum - 04-11-2011, 03:22 PM
Affected Rows won't work when using batch insert/update - by El Forum - 10-19-2012, 08:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB