function SelectInterface::havingConditions
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Database/Query/SelectInterface.php \Drupal\Core\Database\Query\SelectInterface::havingConditions()
- 10 core/lib/Drupal/Core/Database/Query/SelectInterface.php \Drupal\Core\Database\Query\SelectInterface::havingConditions()
- 11.x core/lib/Drupal/Core/Database/Query/SelectInterface.php \Drupal\Core\Database\Query\SelectInterface::havingConditions()
Gets a list of all conditions in the HAVING clause.
This method returns by reference. That allows alter hooks to access the data structure directly and manipulate it before it gets compiled.
Return value
array An array of conditions.
See also
\Drupal\Core\Database\Query\ConditionInterface::conditions()
2 methods override SelectInterface::havingConditions()
- Select::havingConditions in core/
lib/ Drupal/ Core/ Database/ Query/ Select.php - Gets a list of all conditions in the HAVING clause.
- SelectExtender::havingConditions in core/
lib/ Drupal/ Core/ Database/ Query/ SelectExtender.php - Gets a list of all conditions in the HAVING clause.
File
-
core/
lib/ Drupal/ Core/ Database/ Query/ SelectInterface.php, line 538
Class
- SelectInterface
- Interface definition for a Select Query object.
Namespace
Drupal\Core\Database\QueryCode
public function &havingConditions();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.