SelectExtender::preExecute

public SelectExtender::preExecute(SelectInterface $query = NULL)

Generic preparation and validation for a SELECT query.

Return value

TRUE if the validation was successful, FALSE if not.

Overrides SelectInterface::preExecute

File

core/lib/Drupal/Core/Database/Query/SelectExtender.php, line 297

Class

SelectExtender
The base extender class for Select queries.

Namespace

Drupal\Core\Database\Query

Code

public function preExecute(SelectInterface $query = NULL) {
  // If no query object is passed in, use $this.
  if (!isset($query)) {
    $query = $this;
  }

  return $this->query->preExecute($query);
}
doc_Drupal
2016-10-29 09:41:36
Comments
Leave a Comment

Please login to continue.