public function StatementInterface::execute

Executes a prepared statement

Parameters

$args: An array of values with as many elements as there are bound parameters in the SQL statement being executed.

$options: An array of options for this query.

Return value

TRUE on success, or FALSE on failure.

3 methods override StatementInterface::execute()
Statement::execute in drupal/core/lib/Drupal/Core/Database/Statement.php
Executes a prepared statement
StatementEmpty::execute in drupal/core/lib/Drupal/Core/Database/StatementEmpty.php
Executes a prepared statement
StatementPrefetch::execute in drupal/core/lib/Drupal/Core/Database/StatementPrefetch.php
Executes a prepared statement.

File

drupal/core/lib/Drupal/Core/Database/StatementInterface.php, line 64
Definition of Drupal\Core\Database\StatementInterface

Class

StatementInterface
Represents a prepared statement.

Namespace

Drupal\Core\Database

Code

public function execute($args = array(), $options = array());