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

From: Date: Mon, 09 May 2005 05:17:25 +0000
Subject: [DB_DataObject] why is there no query($query, $params) method?
Groups: php.db 
Request: Send a blank email to php-db+get-39391@lists.php.net to get a copy of this message
Hi DB_DataObject uses PEAR::DB internally, which provides a nice query method with two arguments: the SQL statement (with placeholders) and a parameter array, so that I don't have to do any escaping etc. Is there any reason that this method signature is not supported by DB_DataObject? There is a query method, of course, but it takes only one SQL string argument.. Cheers, Thomas

« previous php.db (#39391) next »