Query::isSimpleQuery

protected Query::isSimpleQuery()

Determines whether the query requires GROUP BY and ORDER BY MIN/MAX.

Return value

bool

File

core/lib/Drupal/Core/Entity/Query/Sql/Query.php, line 283

Class

Query
The SQL storage entity query class.

Namespace

Drupal\Core\Entity\Query\Sql

Code

protected function isSimpleQuery() {
  return (!$this->pager && !$this->range && !$this->count) || $this->sqlQuery->getMetaData('simple_query');
}
doc_Drupal
2016-10-29 09:35:25
Comments
Leave a Comment

Please login to continue.