protected function Query::isSimpleQuery in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Entity/Query/Sql/Query.php \Drupal\Core\Entity\Query\Sql\Query::isSimpleQuery()
- 10 core/lib/Drupal/Core/Entity/Query/Sql/Query.php \Drupal\Core\Entity\Query\Sql\Query::isSimpleQuery()
Determines whether the query requires GROUP BY and ORDER BY MIN/MAX.
Return value
bool
1 call to Query::isSimpleQuery()
- Query::addSort in core/
lib/ Drupal/ Core/ Entity/ Query/ Sql/ Query.php - Adds the sort to the build query.
File
- core/
lib/ Drupal/ Core/ Entity/ Query/ Sql/ Query.php, line 300
Class
- Query
- The SQL storage entity query class.
Namespace
Drupal\Core\Entity\Query\SqlCode
protected function isSimpleQuery() {
return !$this->pager && !$this->range && !$this->count || $this->sqlQuery
->getMetaData('simple_query');
}