Re: Updated DB_DO
| From: | Justin Patrin | Date: | Thu, 07 Apr 2005 00:14:40 +0000 |
| Subject: | Re: Updated DB_DO | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18567@lists.php.net to get a copy of this message | ||
On Apr 6, 2005 5:12 PM, Dan Rossi <pear@electroteque.org> wrote:
> http://www.electroteque.org/pear/DataObject.phps
>
> fixed the affectedRows in _query on an insert or update for MDB2.
>
> I tweaked the method insert , check the switch for dbtype, no insertID
> was being returning until i broke the switch for a mysql rather than at
> the mysqli end, i just copied the same code in there and now returns
> what is expected !
I really don't understand what people's obsession with insert()
returning the ID is...DB_DO will set it in the DO. That's the *right*
place to look for it, not in a return of the function.
>
> I think the setLimit problem is on the MDB2 end lemme know what you
> think.
>
>
--
Justin Patrin