Re: [DB_DataObject] why is there no query($query, $params) method?

From: Date: Mon, 09 May 2005 22:28:02 +0000
Subject: Re: [DB_DataObject] why is there no query($query, $params) method?
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-39398@lists.php.net to get a copy of this message
Sorry, but doesn't make sense to me, since there is nothing parsing the result then. If you have a look at the _query() method, it does the essential parsing of the sql result, raising errors etc. I don't want to bypass the DataObject framework at this point. T Kieran.Tully AT acm.org wrote:
On 09/05/05, Thomas <php@playbynet.de> wrote:
Is there any reason that this method signature is not supported by DB_DataObject?
Perhaps because it doesn't make sense to wrap every DB method when you can already do $dataObject->getDatabaseConnection()->query(...) -- Kieran Tully, Software Developer and Tenor Reply to Kieran.Tully AT acm.org http://kieran.tul.ly http://www.cs.tcd.ie/~tullyka


« previous php.db (#39398) next »