Re: insert .. on duplicate key update for DB_DataObject

From: Date: Wed, 22 Jun 2005 06:05:34 +0000
Subject: Re: insert .. on duplicate key update for DB_DataObject
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19717@lists.php.net to get a copy of this message
On 6/21/05, Dan Rossi <pear@electroteque.org> wrote: > Hey there I was wondering if there is any chance doing this on an > insert ? I am needing to update records in a one to many table but only > want to insert newer revised data and then possible update the current > ones there, any ideas ? > You can always override the insert and/or update methods in your DO. -- Justin Patrin

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