public function DatabaseStatementInterface::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 DatabaseStatementInterface::execute()
DatabaseStatementBase::execute in drupal/includes/database/database.inc
Executes a prepared statement
DatabaseStatementEmpty::execute in drupal/includes/database/database.inc
Executes a prepared statement
DatabaseStatementPrefetch::execute in drupal/includes/database/prefetch.inc
Executes a prepared statement.

File

drupal/includes/database/database.inc, line 2026
Core systems for the database layer.

Class

DatabaseStatementInterface
Represents a prepared statement.

Code

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