Commit 13b576f6 authored by webchick's avatar webchick

Issue #1167218 by droplet, kathyh: Fixed DatabaseStatementInterface::fetch* -...

Issue #1167218 by droplet, kathyh: Fixed DatabaseStatementInterface::fetch* - document what empty return value is.
parent 77b30249
......@@ -1994,7 +1994,7 @@ public function rowCount();
* The numeric index of the field to return. Defaults to the first field.
*
* @return
* A single field from the next record.
* A single field from the next record, or FALSE if there is no next record.
*/
public function fetchField($index = 0);
......@@ -2014,7 +2014,7 @@ public function fetchField($index = 0);
* helper method, so one is added.
*
* @return
* An associative array.
* An associative array, or FALSE if there is no next row.
*/
public function fetchAssoc();
......@@ -2042,7 +2042,7 @@ public function fetchAssoc();
* The index of the column number to fetch.
*
* @return
* An indexed array.
* An indexed array, or an empty array if there is no result set.
*/
public function fetchCol($index = 0);
......@@ -2062,7 +2062,7 @@ public function fetchCol($index = 0);
* The numeric index of the field to use as the array value.
*
* @return
* An associative array.
* An associative array, or an empty array if there is no result set.
*/
public function fetchAllKeyed($key_index = 0, $value_index = 1);
......@@ -2081,7 +2081,7 @@ public function fetchAllKeyed($key_index = 0, $value_index = 1);
* set for the query will be used.
*
* @return
* An associative array.
* An associative array, or an empty array if there is no result set.
*/
public function fetchAllAssoc($key, $fetch = NULL);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment