Re: DataObject tweak ok with DB and MDB2

From: Date: Wed, 06 Apr 2005 16:26:00 +0000
Subject: Re: DataObject tweak ok with DB and MDB2
References: 1 2 3 4 5 6 7  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18546@lists.php.net to get a copy of this message
On Apr 6, 2005 12:40 AM, Dan Rossi <pear@electroteque.org> wrote: > > > > query() returns the affected rows for all manipulation queries ... > > > > and the _modifyQuery() method is overwritten in each driver to do what > > is necessary .. > > > > regards, > > Lukas > > > > > > Ok this is freak, i echoed $query in the mysql.php file of the > _modifyQuery method, limit was showing up, i went back to > MDB2_Driver_Common and echoed the output of the query returned from > supposably the driver _modifyQuery method, no limit on the end !! > > Ah...I see...I didn't have MDB2 "installed" so it hadn't been updated in a while. My older version had affectedRows and didn't do limits in _modifyQuery. I see now that the newest version *does* have these. Sorry for the confusion. Dan, could you please post a link to the code you're currently using so that I can take a look at it again? -- Justin Patrin

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