Re: DB Sequences in the same table?
| From: | Lukas Smith | Date: | Mon, 05 Apr 2004 17:12:02 +0000 |
| Subject: | Re: DB Sequences in the same table? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11629@lists.php.net to get a copy of this message | ||
Brent Doll wrote:
Is there a way to keep all sequences in the same table? This is a minor complaint, but, having separate tables for each sequence seems a little cluttered. So far, all I have found is how to change the name of the table. If this isn't something that can be accomplished I can live with all the extra tables, but, would this be a decent feature request? or should I be looking at another package like DataObjects? (on a side note, can any one point me to any documentation on PHP Data Objects? I believe it is a work in progress, but I would like to look at an overview)if you would have searched the archive you would have found several answers to this question. it is impossible, however it would require the use of transactions (which for the default handler in mysql for example dont even exist) and would therefore also add overhead, therefore I dont think it makes sense to explore this option. if you want you can simply extend the DB driver you are using. regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07