interface 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;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
QueryExecutionVoidInterface::execute public function Runs the query against the database. 1

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