Re: [rfc] Row limit support for Pear DB
| From: | (gus) | Date: | Wed, 31 Oct 2001 09:49:08 +0000 |
| Subject: | Re: [rfc] Row limit support for Pear DB | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-2473@lists.php.net to get a copy of this message | ||
"Tomas V.V.Cox" schrieb:
> ## Proto ##
> // Modify the query and launch it when needed
> (object) DB_"driver"::limitQuery(string $query, int $from, int $to);
> // Simply launch the query
> (object) DB_common::limitQuery(string $query, int $from, int $to);
How about a separate SELECT builder class, which can handle other specific
things (eg. joins), too?
Guido