Re: DataObject tweak ok with DB and MDB2
| From: | Dan Rossi | Date: | Thu, 07 Apr 2005 08:21:58 +0000 |
| Subject: | Re: DataObject tweak ok with DB and MDB2 | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18601@lists.php.net to get a copy of this message | ||
On 07/04/2005, at 5:40 PM, Lukas Smith wrote:
The next query ? Or do you mean before the query ? Let me test thisyes .. setLimit() affects the next query. this is exactly its advantage (and maybe disadvantage). this allows people to set limits on any method that issues a query (especially the *All(), *Col() etc.). However obviously you need to make sure that nobody runs a query inbetween.
Right so leave the quote out ? Will this take extra time ?just dont pass a type to $mdb2->quote() and MDB2 will do its best to guess a type.