public function DatabaseStatementInterface::execute

public DatabaseStatementInterface::execute($args = array(), $options = array())

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.

File

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

Class

DatabaseStatementInterface
Represents a prepared statement.

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!database!database.inc/function/DatabaseStatementInterface::execute/7.x