Re: obtaining the next sequence id in a DataObject
| From: | Justin Patrin | Date: | Thu, 21 Apr 2005 03:33:57 +0000 |
| Subject: | Re: obtaining the next sequence id in a DataObject | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18851@lists.php.net to get a copy of this message | ||
On 4/20/05, Dan Rossi <pear@electroteque.org> wrote:
> Hi there, I was wondering how its possible to get the next sequence id
> without having to get the connection and call the nextid from there. is
> there such a method ?
>
If you're talking about an autoinc field or a DB sequence, as long as
the field / sequence is set up correctly it will be in the DO after
you insert. Period.
--
Justin Patrin