DB_DataObjects
| From: | Daniel Kopp | Date: | Thu, 18 Mar 2004 08:33:39 +0000 |
| Subject: | DB_DataObjects | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-11358@lists.php.net to get a copy of this message | ||
Hi!
And ... does DB_DataObjects know now that it does not need to do anything
upon "update" if the given array is the same as the Objects values?
Actually I asked this question in November but somehow it is not in the
archive and also no answers to it - so maybe it just didn't go through:
how come this:
$db->update($saved);
and this:
if ($db->toArray()!==$saved)
$db->update($saved);
can make a difference?
Regards
Daniel