You are here

public function ConditionInterface::orConditionGroup in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::orConditionGroup()
  2. 9 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();