#1162 [NEW]: Specification of return value for DB_common::query is unclear.
| From: | rjones-pear-bug at ico dot viva dot org | Date: | Thu, 08 Apr 2004 08:32:16 +0000 |
| Subject: | #1162 [NEW]: Specification of return value for DB_common::query is unclear. | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-3197@lists.php.net to get a copy of this message | ||
From: rjones-pear-bug at ico dot viva dot org
Operating system: All
PHP version: 4.3.4
PHP Bug Type: Documentation
Bug description: Specification of return value for DB_common::query is unclear.
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 bug report at http://pear.php.net/bugs/bug.php?id=1162&edit=1
--