You are here

protected function Query::compile in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/Query/Sql/Query.php \Drupal\Core\Entity\Query\Sql\Query::compile()

Compiles the conditions.

Return value

\Drupal\Core\Entity\Query\Sql\Query Returns the called object.

File

core/lib/Drupal/Core/Entity/Query/Sql/Query.php, line 166
Contains \Drupal\Core\Entity\Query\Sql\Query.

Class

Query
The SQL storage entity query class.

Namespace

Drupal\Core\Entity\Query\Sql

Code

protected function compile() {
  $this->condition
    ->compile($this->sqlQuery);
  return $this;
}