|
| fetchAll ($style=null, $col=null) |
|
| fetch ($style=null, $cursor=null, $offset=null) |
|
| bindColumn ($column, &$param, $type=null) |
|
| bindValue ($parameter, $value, $type=null) |
|
| closeCursor () |
|
| columnCount () |
|
| errorCode () |
|
| errorInfo () |
|
| _execute (array $params=null) |
|
| fetch ($style=null, $cursor=null, $offset=null) |
|
| getIterator () |
|
| fetchAll ($style=null, $col=null) |
|
| fetchColumn ($col=0) |
|
| fetchObject ($class='stdClass', array $config=array()) |
|
| getAttribute ($key) |
|
| getColumnMeta ($column) |
|
| nextRowset () |
|
| rowCount () |
|
| setAttribute ($key, $val) |
|
| setFetchMode ($mode) |
|
| __construct ($adapter, $sql) |
|
| bindColumn ($column, &$param, $type=null) |
|
| bindParam ($parameter, &$variable, $type=null, $length=null, $options=null) |
|
| bindValue ($parameter, $value, $type=null) |
|
| execute (array $params=null) |
|
| fetchAll ($style=null, $col=null) |
|
| fetchColumn ($col=0) |
|
| fetchObject ($class='stdClass', array $config=array()) |
|
| getAttribute ($key) |
|
| setAttribute ($key, $val) |
|
| setFetchMode ($mode) |
|
| _fetchBound ($row) |
|
| getAdapter () |
|
| getDriverStatement () |
|
Definition at line 40 of file Oci.php.
◆ fetch()
fetch |
( |
|
$style = null , |
|
|
|
$cursor = null , |
|
|
|
$offset = null |
|
) |
| |
Fetches a row from the result set.
- Parameters
-
int | $style | OPTIONAL Fetch mode for this fetch operation. |
int | $cursor | OPTIONAL Absolute, relative, or other. |
int | $offset | OPTIONAL Number for absolute or relative cursors. |
- Returns
- mixed Array, object, or scalar depending on fetch mode.
- Exceptions
-
Implements Zend_Db_Statement_Interface.
Definition at line 80 of file Oci.php.
82 $row = parent::fetch($style, $cursor, $offset);
84 $remove = $this->_adapter->foldCase(
'zend_db_rownum');
85 if (is_array(
$row) && array_key_exists($remove,
$row)) {
◆ fetchAll()
fetchAll |
( |
|
$style = null , |
|
|
|
$col = null |
|
) |
| |
Returns an array containing all of the result set rows.
Behaves like parent, but if limit() is used, the final result removes the extra column 'zend_db_rownum'
- Parameters
-
int | $style | OPTIONAL Fetch mode. |
int | $col | OPTIONAL Column number, if fetch mode is by column. |
- Returns
- array Collection of rows, each in a format by the fetch mode.
- Exceptions
-
Implements Zend_Db_Statement_Interface.
Definition at line 55 of file Oci.php.
57 $data = parent::fetchAll($style, $col);
59 $remove = $this->_adapter->foldCase(
'zend_db_rownum');
62 if (is_array(
$row) && array_key_exists($remove,
$row)) {
The documentation for this class was generated from the following file:
- vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo/Oci.php