function ConditionInterface::orConditionGroup

Same name in other branches
  1. 9 core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::orConditionGroup()
  2. 8.9.x core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::orConditionGroup()
  3. 10 core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::orConditionGroup()

Creates a new group of conditions ORed together.

Return value

\Drupal\Core\Database\Query\ConditionInterface

2 methods override ConditionInterface::orConditionGroup()
Condition::orConditionGroup in core/lib/Drupal/Core/Database/Query/Condition.php
Creates a new group of conditions ORed together.
SelectExtender::orConditionGroup in core/lib/Drupal/Core/Database/Query/SelectExtender.php
Creates a new group of conditions ORed together.

File

core/lib/Drupal/Core/Database/Query/ConditionInterface.php, line 226

Class

ConditionInterface
Interface for a conditional clause in a query.

Namespace

Drupal\Core\Database\Query

Code

public function orConditionGroup();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.