Re: pdo comments
| From: | Ilia Alshanetsky | Date: | Mon, 18 Oct 2004 15:00:34 +0000 |
| Subject: | Re: pdo comments | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-1468@lists.php.net to get a copy of this message | ||
Lukas Smith wrote:
1) are you sure you want to have PDO_FETCH_BOTH as default and not PDO_FETCH_NUM?Yes, when running selects which retrieve lots of columns using numeric indexes is quite inconvenient and makes code unreadable.
2) does it make sense to have fetchSingle() have this magic of returning either a string or an array instead of two separate methods one for single row and one for multi row result sets?IMO, yes.
3) are you also going to introduce an RTRIM autoconvert option .. afaik ibase needs thatSounds like a good idea, although that'll be up to the ibase maintainer to introduce :-). Ilia