RE: [PEAR] DB_DataObjects

From: Date: Mon, 22 Mar 2004 10:29:48 +0000
Subject: RE: [PEAR] DB_DataObjects
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11440@lists.php.net to get a copy of this message
Hi! > > When you turn up the debug level using (for example) > > DB_DataObject::debugLevel(5), then you'll see that DataObject is capable > > of finding out by itself if an update actually needs to be performed. If > > not, it will print a debug message like "No data affected by update". > > Actually that message comes from the database. - DataObjects, just > relays it back. Exactly that's my point ... Why does it not realize that there is nothing to do? Because if there is nothing to do it will send UPDATE person SET WHERE id=12; or what? Is that worth a bug-report? Regards Daniel

« previous php.pear.general (#11440) next »