Re: DB_DataObject skip sequence

From: Date: Wed, 13 Apr 2005 16:29:40 +0000
Subject: Re: DB_DataObject skip sequence
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18729@lists.php.net to get a copy of this message
On 4/13/05, Robin Ericsson <robin.ericsson@profecta.se> wrote: > Hi, > > Is it possible to tell DB_DataObject to just skip using sequence on a > field defined as primary key? I'm not sure what you're asking. Is this field set up as a PK in your table? Is it set up as a sequence? Is DB_DO using DB's sequence methods and you don't want that? > > I've tried to add a method called sequenceKey() which returned > array('field', true, false), but in that case the field wasn't used at > all in the query. > perhaps try array('field', false, false)? -- Justin Patrin

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