function SelectInterface::preExecute

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

Generic preparation and validation for a SELECT query.

Return value

bool TRUE if the validation was successful, FALSE if not.

2 methods override SelectInterface::preExecute()
Select::preExecute in core/lib/Drupal/Core/Database/Query/Select.php
Generic preparation and validation for a SELECT query.
SelectExtender::preExecute in core/lib/Drupal/Core/Database/Query/SelectExtender.php
Generic preparation and validation for a SELECT query.

File

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

Class

SelectInterface
Interface definition for a Select Query object.

Namespace

Drupal\Core\Database\Query

Code

public function preExecute(?SelectInterface $query = NULL);

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