[development] Extend database abstraction layer, to include table creation.

Adrian Rossouw adrian at bryght.com
Fri May 12 16:41:45 UTC 2006

On 12 May 2006, at 5:03 PM, Earl Miles wrote:

> Uggh. Adding extra loops because you don't like 'while' is nothing  
> more than a performance hit that is unnecessary.
Not to mention a memory drain.

The only place I could see something like this being useful is  
everywhere we do :

$result = db_query('something');
while ($data = db_fetch_array($result) {
    $return[$data['some_key']] = $data;


And i don't think 4 (really 3 lines) of code is that much of a schlepp.

Adrian Rossouw
Drupal developer and Bryght Guy
http://drupal.org | http://bryght.com

More information about the development mailing list