Default implementation of DatabaseStatementInterface.
PDO allows us to extend the PDOStatement class to provide additional functionality beyond that offered by default. We do need extra functionality. By default, this class is not driver-specific. If a given driver needs to set a custom statement class, it may do so in its constructor.
Expanded class hierarchy of DatabaseStatementBase
http://us.php.net/pdostatement
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DatabaseStatementBase:: |
public | property | Reference to the database connection object for this statement. | |
DatabaseStatementBase:: |
public | function |
Executes a prepared statement Overrides DatabaseStatementInterface:: |
|
DatabaseStatementBase:: |
public | function |
Returns the result set as an associative array keyed by the given field. Overrides DatabaseStatementInterface:: |
|
DatabaseStatementBase:: |
public | function |
Returns the entire result set as a single associative array. Overrides DatabaseStatementInterface:: |
|
DatabaseStatementBase:: |
public | function |
Fetches the next row and returns it as an associative array. Overrides DatabaseStatementInterface:: |
|
DatabaseStatementBase:: |
public | function |
Returns an entire single column of a result set as an indexed array. Overrides DatabaseStatementInterface:: |
|
DatabaseStatementBase:: |
public | function |
Returns a single field from the next record of a result set. Overrides DatabaseStatementInterface:: |
|
DatabaseStatementBase:: |
public | function |
Gets the query string of this statement. Overrides DatabaseStatementInterface:: |
|
DatabaseStatementBase:: |
protected | function | ||
DatabaseStatementInterface:: |
public | function | Returns the number of rows affected by the last SQL statement. | 2 |