You are here

public function SelectInterface::execute in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Database/Query/SelectInterface.php \Drupal\Core\Database\Query\SelectInterface::execute()
  2. 10 core/lib/Drupal/Core/Database/Query/SelectInterface.php \Drupal\Core\Database\Query\SelectInterface::execute()

Runs the query against the database.

Return value

\Drupal\Core\Database\StatementInterface|null A prepared statement, or NULL if the query is not valid.

1 method overrides SelectInterface::execute()
SelectExtender::execute in core/lib/Drupal/Core/Database/Query/SelectExtender.php
Runs the query against the database.

File

core/lib/Drupal/Core/Database/Query/SelectInterface.php, line 535

Class

SelectInterface
Interface definition for a Select Query object.

Namespace

Drupal\Core\Database\Query

Code

public function execute();