Re: DB::limitQuery Method - Syntax for Interbase Missing
| From: | James 'Chip' Kaufman | Date: | Mon, 14 Jul 2003 13:36:56 +0000 |
| Subject: | Re: DB::limitQuery Method - Syntax for Interbase Missing | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-6583@lists.php.net to get a copy of this message | ||
On Friday 11 July 2003 04:47, Ben Tauler wrote:
> I'm using the last version of the package PEAR::DB, wich is version
> 1.5.0RC1 I see that it implements limitQuery only for Firebird
> syntax, wich is: SELECT FIRST 10 SKIP 1 * FROM TableA
>
> I have found that Interbase, has the same functionality but with a
> diferent syntax, wich is:
>
> SELECT * FROM TableA ROWS 1 TO 10
>
> Will this be implemented on future versions... I know I could
> implment it myself but I want to be able to upgrade future versions
> of PEAR::DB without recoding my modifications.
>
> TIA,
>
> Ben
Have you thought about modifying the PEAR::DB code, testing it, then
submitting the patch to the development team? It's fun and easy.
--
James 'Chip' Kaufman
jkaufman@wamnet.com
651-256-5137
PGP key: 697D43DE