interface QueryExecutionVoidInterface

Same name and namespace in other branches
  1. main core/lib/Drupal/Core/Database/Query/QueryExecutionVoidInterface.php \Drupal\Core\Database\Query\QueryExecutionVoidInterface

Interface for queries whose execution does not return a value.

This is typical of DDL and DML SQL statements.

Hierarchy

Expanded class hierarchy of QueryExecutionVoidInterface

All classes that implement QueryExecutionVoidInterface

File

core/lib/Drupal/Core/Database/Query/QueryExecutionVoidInterface.php, line 10

Namespace

Drupal\Core\Database\Query
View source
interface QueryExecutionVoidInterface {
  
  /**
   * Runs the query against the database.
   */
  public function execute() : void;

}

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