MediaWiki
REL1_20
|
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 127 of file DatabaseIbm_db2.php.
IBM_DB2Result::__construct | ( | $ | db, |
$ | result, | ||
$ | num_rows, | ||
$ | sql, | ||
$ | columns | ||
) |
Construct and initialize a wrapper for DB2 query results.
$db | DatabaseBase |
$result | Object |
$num_rows | Integer |
$sql | String |
$columns | Array |
Definition at line 146 of file DatabaseIbm_db2.php.
Return a row from the result set in object format.
Definition at line 204 of file DatabaseIbm_db2.php.
References fetchRow().
Return a row form the result set in array format.
DBUnexpectedError |
Definition at line 227 of file DatabaseIbm_db2.php.
Referenced by fetchObject().
Free a DB2 result object.
DBUnexpectedError |
Definition at line 254 of file DatabaseIbm_db2.php.
Get the number of rows in the result set.
Definition at line 196 of file DatabaseIbm_db2.php.
Unwrap the DB2 query results.
Definition at line 185 of file DatabaseIbm_db2.php.
IBM_DB2Result::$columns = array() [private] |
Definition at line 132 of file DatabaseIbm_db2.php.
IBM_DB2Result::$current_pos [private] |
Definition at line 131 of file DatabaseIbm_db2.php.
IBM_DB2Result::$db [private] |
Definition at line 128 of file DatabaseIbm_db2.php.
Referenced by __construct().
IBM_DB2Result::$loadedLines = 0 [private] |
Definition at line 136 of file DatabaseIbm_db2.php.
IBM_DB2Result::$num_rows [private] |
Definition at line 130 of file DatabaseIbm_db2.php.
Referenced by __construct().
IBM_DB2Result::$result [private] |
Definition at line 129 of file DatabaseIbm_db2.php.
Referenced by __construct().
IBM_DB2Result::$resultSet = array() [private] |
Definition at line 135 of file DatabaseIbm_db2.php.
IBM_DB2Result::$sql [private] |
Definition at line 133 of file DatabaseIbm_db2.php.
Referenced by __construct().