function StatementEmpty::execute

Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Database/StatementEmpty.php \Drupal\Core\Database\StatementEmpty::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. This can be NULL.

$options: An array of options for this query.

Return value

bool TRUE on success, or FALSE on failure.

Overrides StatementInterface::execute

File

core/lib/Drupal/Core/Database/StatementEmpty.php, line 35

Class

StatementEmpty
Empty implementation of a database statement.

Namespace

Drupal\Core\Database

Code

public function execute($args = [], $options = []) {
    return FALSE;
}

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