DB_DataObject->update() - error on no changes.
| From: | Matt Erkkila | Date: | Fri, 16 Apr 2004 14:24:03 +0000 |
| Subject: | DB_DataObject->update() - error on no changes. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-11915@lists.php.net to get a copy of this message | ||
When i run an update on a record that was not actually changed a
PEAR::error() is triggered. Any reason for this? Should I be testing to
see if changes had been made before I try and update a record? What would
be the best way to test for that?