You are here

public function DatabaseStatementInterface::execute in Drupal 7

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 includes/database/database.inc
Executes a prepared statement
DatabaseStatementEmpty::execute in includes/database/database.inc
Executes a prepared statement
DatabaseStatementPrefetch::execute in includes/database/prefetch.inc
Executes a prepared statement.

File

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

Class

DatabaseStatementInterface
Represents a prepared statement.

Code

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