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 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 2082

Class

DatabaseStatementInterface
Represents a prepared statement.

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.