Re: database stuff

From: Date: Sun, 29 Jul 2001 23:11:21 +0000
Subject: Re: database stuff
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-1125@lists.php.net to get a copy of this message
As seek, I would be interested by a method to LOCK a table. I really think thet the both could be part of a database abstraction, but of course, it is just my opinion. Seek, as cursors are tools pretty useful. The same think for a method to get the list of tables, if it doesn't exist still - SHOW TABLES Just as a parenthesis, I am wroking in a wrapper (PHPLIB to PEAR). At 19:58 7/26/2001 +0200, you wrote:
On Thursday 26 July 2001 20:51, mailling@bigfoot.com wrote: I would like to know if it is possible to add a method to move the pointer. Example, I would appreciate a method that use only: (ie. given for mysql) mysql_data_seek And don't mix this job with another one such as in fetchInto I don't see how this could fit in the idea of a database abstraction layer. But always you can do what you want with the cursor as you have it stored as a property in the pear db result object: $result_object->result (before Stig beat me, I must say that this practise is unsopprted and unrecomended :) Tomas V.V.Cox


« previous php.pear.dev (#1125) next »