PDO equivalent for mysqli_info()?
| From: | we5inelgr | Date: | Tue, 10 Dec 2013 03:03:29 +0000 |
| Subject: | PDO equivalent for mysqli_info()? | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-17449@lists.php.net to get a copy of this message | ||
Hello,
Why is there no PDO equivalent for mysqli_info()?
While using PDO/prepared statements, there should be a way to differentiate
between these update results:
1. Found record, no update due to same data
and
2. Found record, update
Right now, rowCount() will return the same integer for both (different)
results, the same with setting the attribute array(PDO::MYSQL_ATTR_FOUND_ROWS
=> true).
Will there be a way to tell the difference between those two update
scenarios?
Thanks.