Affected rows VS Matched rows |
[eluser]Alexxz[/eluser]
Quote:$this->db->affected_rows()But I have a big problem with it. Because in update query it shows not matched rows, but really affected rows. Code: mysql> create table test (a int, b int); Some kind of discussion you can find in php.net site in comments. Is it possible to make function which returns "Rows matched"? May be User Guide needs correction? What do you think about this? |
Messages In This Thread |
Affected rows VS Matched rows - by El Forum - 12-06-2007, 12:57 AM
Affected rows VS Matched rows - by El Forum - 12-06-2007, 01:27 AM
Affected rows VS Matched rows - by El Forum - 12-06-2007, 01:33 AM
Affected rows VS Matched rows - by El Forum - 12-06-2007, 01:40 AM
Affected rows VS Matched rows - by El Forum - 12-06-2007, 01:58 AM
|