|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| setLobAsString ($lob_as_string) | |
| getLobAsString () | |
| closeCursor () | |
| columnCount () | |
| errorCode () | |
| errorInfo () | |
| _execute (array $params=null) | |
| fetch ($style=null, $cursor=null, $offset=null) | |
| fetchAll ($style=null, $col=0) | |
| fetchColumn ($col=0) | |
| fetchObject ($class='stdClass', array $config=array()) | |
| nextRowset () | |
| rowCount () | |
Public Member Functions inherited from Zend_Db_Statement | |
| __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 () | |
Protected Member Functions | |
| _prepare ($sql) | |
| _bindParam ($parameter, &$variable, $type=null, $length=null, $options=null) | |
Protected Member Functions inherited from Zend_Db_Statement | |
| _prepare ($sql) | |
| _parseParameters ($sql) | |
| _stripQuoted ($sql) | |
Protected Attributes | |
| $_keys | |
| $_values | |
| $_lobAsString = false | |
Protected Attributes inherited from Zend_Db_Statement | |
| $_stmt = null | |
| $_adapter = null | |
| $_fetchMode = Zend_Db::FETCH_ASSOC | |
| $_attribute = array() | |
| $_bindColumn = array() | |
| $_bindParam = array() | |
| $_sqlSplit = array() | |
| $_sqlParam = array() | |
| $_queryId = null | |
Definition at line 37 of file Oracle.php.
|
protected |
Binds a parameter to the specified variable name.
| mixed | $parameter | Name the parameter, either integer or string. |
| mixed | $variable | Reference to PHP variable containing the value. |
| mixed | $type | OPTIONAL Datatype of SQL parameter. |
| mixed | $length | OPTIONAL Length of SQL parameter. |
| mixed | $options | OPTIONAL Other options. |
| Zend_Db_Statement_Exception |
Definition at line 111 of file Oracle.php.
| _execute | ( | array | $params = null | ) |
Executes a prepared statement.
| array | $params | OPTIONAL Values to bind to parameter placeholders. |
| Zend_Db_Statement_Exception |
Definition at line 229 of file Oracle.php.
|
protected |
Prepares statement handle
| string | $sql |
| Zend_Db_Statement_Oracle_Exception |
Definition at line 87 of file Oracle.php.
| closeCursor | ( | ) |
Closes the cursor, allowing the statement to be executed again.
Implements Zend_Db_Statement_Interface.
Definition at line 140 of file Oracle.php.
| columnCount | ( | ) |
Returns the number of columns in the result set. Returns null if the statement has no result set metadata.
Implements Zend_Db_Statement_Interface.
Definition at line 157 of file Oracle.php.
| errorCode | ( | ) |
Retrieves the error code, if any, associated with the last operation on the statement handle.
Implements Zend_Db_Statement_Interface.
Definition at line 173 of file Oracle.php.
| errorInfo | ( | ) |
Retrieves an array of error information, if any, associated with the last operation on the statement handle.
Implements Zend_Db_Statement_Interface.
Definition at line 195 of file Oracle.php.
| fetch | ( | $style = null, |
|
$cursor = null, |
|||
$offset = null |
|||
| ) |
Fetches a row from the result set.
| 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. |
| Zend_Db_Statement_Exception |
Implements Zend_Db_Statement_Interface.
Definition at line 291 of file Oracle.php.
| fetchAll | ( | $style = null, |
|
$col = 0 |
|||
| ) |
Returns an array containing all of the result set rows.
| int | $style | OPTIONAL Fetch mode. |
| int | $col | OPTIONAL Column number, if fetch mode is by column. |
| Zend_Db_Statement_Exception |
Implements Zend_Db_Statement_Interface.
Definition at line 359 of file Oracle.php.
| fetchColumn | ( | $col = 0 | ) |
Returns a single column from the next row of a result set.
| int | $col | OPTIONAL Position of the column to fetch. |
| Zend_Db_Statement_Exception |
Implements Zend_Db_Statement_Interface.
Definition at line 461 of file Oracle.php.
| fetchObject | ( | $class = 'stdClass', |
|
| array | $config = array() |
||
| ) |
Fetches the next row and returns it as an object.
| string | $class | OPTIONAL Name of the class to create. |
| array | $config | OPTIONAL Constructor arguments for the class. |
| Zend_Db_Statement_Exception |
Implements Zend_Db_Statement_Interface.
Definition at line 507 of file Oracle.php.
| getLobAsString | ( | ) |
Return whether or not LOB are returned as string
Definition at line 75 of file Oracle.php.
| nextRowset | ( | ) |
Retrieves the next rowset (result set) for a SQL statement that has multiple result sets. An example is a stored procedure that returns the results of multiple queries.
| Zend_Db_Statement_Exception |
Implements Zend_Db_Statement_Interface.
Definition at line 536 of file Oracle.php.
| rowCount | ( | ) |
Returns the number of rows affected by the execution of the last INSERT, DELETE, or UPDATE statement executed by this statement object.
| Zend_Db_Statement_Exception |
Implements Zend_Db_Statement_Interface.
Definition at line 558 of file Oracle.php.
| setLobAsString | ( | $lob_as_string | ) |
Activate/deactivate return of LOB as string
| string | $lob_as_string |
Definition at line 64 of file Oracle.php.
|
protected |
Column names.
Definition at line 43 of file Oracle.php.
|
protected |
Definition at line 56 of file Oracle.php.
|
protected |
Fetched result values.
Definition at line 48 of file Oracle.php.