Re: DB_DataObject_formbuilder sequence
| From: | Justin Patrin | Date: | Wed, 05 Jan 2005 01:57:32 +0000 |
| Subject: | Re: DB_DataObject_formbuilder sequence | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16612@lists.php.net to get a copy of this message | ||
On Wed, 05 Jan 2005 00:35:49 +0530, Jacob Singh <jacob@pajamadesign.com> wrote:
> I'm using sequences in application and I want to specify the primary key
> value before inserting the data using the Formbuilder. Where do i do
> this. it never seems to set correctly.
If you implemented a sequence all your own you're going to have to
look into the sequenceKey() call. I would recommend using a sequence
in the DB itself or allowing DB to handle the sequence. Both shoudl
work with DB_DataObject.
>
> Thanks
> Jacob
>
--
Justin Patrin