#1162 [Opn]: Specification of return value for DB_common::query is unclear.

From: Date: Thu, 08 Apr 2004 08:39:48 +0000
Subject: #1162 [Opn]: Specification of return value for DB_common::query is unclear.
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-3198@lists.php.net to get a copy of this message
ID: 1162 User updated by: rjones-pear-bug at ico dot viva dot org Reported By: rjones-pear-bug at ico dot viva dot org Status: Open Bug Type: Documentation Operating System: All PHP Version: 4.3.4 New Comment: s/without a result/without any results Previous Comments: ------------------------------------------------------------------------ [2004-04-08 04:32:16] rjones-pear-bug at ico dot viva dot org Description: ------------ Specification of return value for DB_common::query is unclear. From http://pear.php.net/manual/en/package.database.db.db-common.query.php "Return value mixed - a new DB_result object, DB_OK for queries without results or a DB_Error object on failure " Is a "query without a result" one that hasn't returned any records or one that never returns any records? Please clarify this. Reproduce code: --------------- N/A Expected result: ---------------- N/A Actual result: -------------- N/A ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=1162&edit=1

« previous php.pear.doc (#3198) next »