Re: MDB2_Driver_pgsql::limitQuery()

From: Date: Wed, 18 Oct 2006 19:18:03 +0000
Subject: Re: MDB2_Driver_pgsql::limitQuery()
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25528@lists.php.net to get a copy of this message
Paul Scott wrote:
When calling limitQuery() on a postgres connection, I get the following error, although it seems to be ok with the same code on a MySQL5.1.x database: Fatal error: Call to undefined function: MDB2_Driver_pgsql::limitQuery(). in /usr/share/php/MDB2.php on line 1917 Is this a bug? Should I write a limitQuery() for pgsql and submit a patch? Am I just missing something?
there's no such method. You should use setLimit() and then query*(): http://pear.php.net/manual/en/package.database.mdb2.intro-query.php#package.database.mdb2.intro-query.setlimit HTH -- Lorenzo Alberton http://pear.php.net/user/quipo ___________________________________________________________________ Quipo Free Internet - 2 email, 150 Mb di spazio web e molto di più. ADSL, Hardware & Software Online Store

« previous php.pear.general (#25528) next »