Re: [PHP-DEV] [patch] PDO_FETCH_KEYS

2007-11-27 Thread Hans-Peter Oeri
Hi! Wez Furlong wrote: > What purpose does this serve exactly? PDO::FETCH_KEYS is supposed to be a "generalized" form of the existing PDO::FETCH_KEY_PAIR. The latter is limited to two column results and organises it into key=>value. PDO::FETCH_2D is an IMHO better strategy than the existing ATT

Re: [PHP-DEV] [patch] PDO_FETCH_KEYS

2007-11-27 Thread Wez Furlong
What purpose does this serve exactly? Why do we need to allocate an empty string for every database connection? Why do we need this in the core? There's a lot of manipulation being done here that is better suited to happen in PHP script land where it's safer and easier to maintain. --Wez.