Re: DB_DataObject Bug?
| From: | Alan | Date: | Mon, 28 Mar 2005 03:48:03 +0000 |
| Subject: | Re: DB_DataObject Bug? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18371@lists.php.net to get a copy of this message | ||
print_r($obj->sequenceKey()) - will tell you what dataobjects thinks the
table should do about sequences.
pear sequences are only generated when you actually run the first
insert.
regards
Alan
On Sun, 2005-03-27 at 19:50 +0100, Ian wrote:
> I'm currently running MySQL 4.0. When using DB_DataObject the sequences just
> don't work! I've set them for each individual table within the
> db_dataobject.ini and created the tables as per usual. However, no sequences
> are generated? I would just use the normal auto_incriment but it is
> necessary to use pear sequences for what I intend to accomplish.
>
>
>
> Many thanks.
>
>
>
>
>