Re: DB::createSequence wish
| From: | Martin Marques | Date: | Sun, 14 Sep 2003 15:27:28 +0000 |
| Subject: | Re: DB::createSequence wish | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-7800@lists.php.net to get a copy of this message | ||
El Vie 12 Sep 2003 18:00, mitchell perilstein escribió:
> 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.
Which DB are you on right now, and how would the first_id be implemented in
createSequence()?
--
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-----------------------------------------------------------------
Martín Marqués | mmarques@unl.edu.ar
Programador, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------