Welcome Guest, Not a member yet? Register   Sign In
affected_rows doesn't work
#1

[eluser]Unknown[/eluser]
affected_rows doesn't work. Anyone stumbled upon this problem too?
edit: This problem shows only on firebird driver.
#2

[eluser]InsiteFX[/eluser]
It's a hack for MySQL.

Displays the number of affected rows, when doing "write" type queries (insert, update, etc.).

Note: In MySQL "DELETE FROM TABLE" returns 0 affected rows. The database class has a small hack that allows it to return the correct number of affected rows. By default this hack is enabled but it can be turned off in the database driver file.




Theme © iAndrew 2016 - Forum software by © MyBB