|
MediaWiki
REL1_19
|
Wrapper to address lack of certain operations in the DB2 driver ( seek, num_rows ) More...
Public Member Functions | |
| __construct ($db, $result, $num_rows, $sql, $columns) | |
| Construct and initialize a wrapper for DB2 query results. | |
| fetchObject () | |
| Return a row from the result set in object format. | |
| fetchRow () | |
| Return a row form the result set in array format. | |
| freeResult () | |
| Free a DB2 result object. | |
| getNum_rows () | |
| Get the number of rows in the result set. | |
| getResult () | |
| Unwrap the DB2 query results. | |
Private Attributes | |
| $columns = array() | |
| $current_pos | |
| $db | |
| $loadedLines = 0 | |
| $num_rows | |
| $result | |
| $resultSet = array() | |
| $sql | |
Wrapper to address lack of certain operations in the DB2 driver ( seek, num_rows )
Definition at line 112 of file DatabaseIbm_db2.php.
| IBM_DB2Result::__construct | ( | $ | db, |
| $ | result, | ||
| $ | num_rows, | ||
| $ | sql, | ||
| $ | columns | ||
| ) |
Return a row from the result set in object format.
Definition at line 189 of file DatabaseIbm_db2.php.
References fetchRow().

Return a row form the result set in array format.
| DBUnexpectedError |
Definition at line 212 of file DatabaseIbm_db2.php.
Referenced by fetchObject().

Free a DB2 result object.
| DBUnexpectedError |
Definition at line 239 of file DatabaseIbm_db2.php.
Get the number of rows in the result set.
Definition at line 181 of file DatabaseIbm_db2.php.
Unwrap the DB2 query results.
Definition at line 170 of file DatabaseIbm_db2.php.
IBM_DB2Result::$columns = array() [private] |
Definition at line 117 of file DatabaseIbm_db2.php.
IBM_DB2Result::$current_pos [private] |
Definition at line 116 of file DatabaseIbm_db2.php.
IBM_DB2Result::$db [private] |
Definition at line 113 of file DatabaseIbm_db2.php.
Referenced by __construct().
IBM_DB2Result::$loadedLines = 0 [private] |
Definition at line 121 of file DatabaseIbm_db2.php.
IBM_DB2Result::$num_rows [private] |
Definition at line 115 of file DatabaseIbm_db2.php.
Referenced by __construct().
IBM_DB2Result::$result [private] |
Definition at line 114 of file DatabaseIbm_db2.php.
Referenced by __construct().
IBM_DB2Result::$resultSet = array() [private] |
Definition at line 120 of file DatabaseIbm_db2.php.
IBM_DB2Result::$sql [private] |
Definition at line 118 of file DatabaseIbm_db2.php.
Referenced by __construct().