|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| _prepare ($sql) | |
| close () | |
| closeCursor () | |
| columnCount () | |
| errorCode () | |
| errorInfo () | |
| _execute (array $params=null) | |
| fetch ($style=null, $cursor=null, $offset=null) | |
| 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 | |
| _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 | |
| $_meta = null | |
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 39 of file Mysqli.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_Mysqli_Exception |
Definition at line 92 of file Mysqli.php.
| _execute | ( | array | $params = null | ) |
Executes a prepared statement.
| array | $params | OPTIONAL Values to bind to parameter placeholders. |
| Zend_Db_Statement_Mysqli_Exception |
Definition at line 183 of file Mysqli.php.
| _prepare | ( | $sql | ) |
| string | $sql |
| Zend_Db_Statement_Mysqli_Exception |
Definition at line 66 of file Mysqli.php.
| close | ( | ) |
| closeCursor | ( | ) |
Closes the cursor, allowing the statement to be executed again.
Implements Zend_Db_Statement_Interface.
Definition at line 117 of file Mysqli.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 136 of file Mysqli.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 150 of file Mysqli.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 164 of file Mysqli.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_Mysqli_Exception |
Implements Zend_Db_Statement_Interface.
Definition at line 270 of file Mysqli.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_Mysqli_Exception |
Implements Zend_Db_Statement_Interface.
Definition at line 337 of file Mysqli.php.
| rowCount | ( | ) |
Returns the number of rows affected by the execution of the last INSERT, DELETE, or UPDATE statement executed by this statement object.
Implements Zend_Db_Statement_Interface.
Definition at line 353 of file Mysqli.php.
|
protected |
Definition at line 47 of file Mysqli.php.
|
protected |
Definition at line 59 of file Mysqli.php.
|
protected |
Definition at line 54 of file Mysqli.php.