RE: [PEAR-DEV] general questions
| From: | Joao Prado Maia | Date: | Thu, 29 Nov 2001 01:10:12 +0000 |
| Subject: | RE: [PEAR-DEV] general questions | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-3168@lists.php.net to get a copy of this message | ||
On Thu, 29 Nov 2001, Lukas Smith wrote:
> > My point is, we will have to think about supporting the current API on
> the
> > new DB, and I don't see a reason for not keeping the current get*()
> and
> > fetch*() methods for people that only want to use the PEAR::DB
> 'classic'
> > API (myself included) on the new DB.
>
> Well in the context of keeping things lightweight I would rather drop
> the fetch stuff
>
Like I said before, there are probably a lot of people relying on the
fetch*() methods, so dropping them would be kind of crazy. I personally
rather have a well-designed API that is useful for me than having a
lightweight API that doesn't give me the features I need and use.
> > You don't have to, just use the get*() methods.
>
> Sorry, I missed the difference between get() and fetch(), thx for
> pointing this out. As I have stated I really want this for:
> Single fields
getOne()
> Single Rows
getRow()
> Single Columns
getAssoc() (i'm guessing that this is what you mean by 'single columns')
> Multiple Rows
getAll()
Joao
--
João Prado Maia <jpm@phpbrasil.com>
http://phpbrasil.com - php com um jeitinho brasileiro
--
Precisando de consultoria em desenvolvimento para a Internet ?
Impleo.net - http://impleo.net/?lang=br