function PdoTrait::clientExecute
Executes the prepared PDO statement.
Parameters
array|null $arguments: An array of values with as many elements as there are bound parameters in the SQL statement being executed. This can be NULL.
array $options: An array of options for this query.
Return value
bool TRUE on success, or FALSE on failure.
2 calls to PdoTrait::clientExecute()
- StatementPrefetchIterator::execute in core/
lib/ Drupal/ Core/ Database/ StatementPrefetchIterator.php - Executes a prepared statement.
- StatementWrapperIterator::execute in core/
lib/ Drupal/ Core/ Database/ StatementWrapperIterator.php - Executes a prepared statement.
File
-
core/
lib/ Drupal/ Core/ Database/ Statement/ PdoTrait.php, line 114
Class
- PdoTrait
- A trait for calling \PDOStatement methods.
Namespace
Drupal\Core\Database\StatementCode
protected function clientExecute(?array $arguments = [], array $options = []) : bool {
return $this->getClientStatement()
->execute($arguments);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.