RE: [PEAR] DB::createSequence wish

From: Date: Mon, 15 Sep 2003 07:50:08 +0000
Subject: RE: [PEAR] DB::createSequence wish
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-7808@lists.php.net to get a copy of this message
> From: mitchell perilstein [mailto:mitch@enetis.net] > Sent: Friday, September 12, 2003 11:01 PM > > Suggestion: If I would like my DB::nextId() sequence to start at a > certain number, this would be nice: > > DB/<database>.php: > > function createSequence($seq_name, $first_id=1) { ... } > > It's hardcoded 1 currently. I'd put it in but do not feel expert in > all the DBs implemented. MDB supports this. However MDB emulates sequences slightly different than DB, so this might not be portable to DB so easily. Regards, Lukas

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