W3cubDocs

/Drupal 8

public function StatementInterface::execute

public StatementInterface::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

core/lib/Drupal/Core/Database/StatementInterface.php, line 54

Class

StatementInterface
Represents a prepared statement.

Namespace

Drupal\Core\Database

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/core!lib!Drupal!Core!Database!StatementInterface.php/function/StatementInterface::execute/8.1.x