Implements entity query conditions for SQL databases.
Hierarchy
- class \Drupal\Core\Entity\Query\ConditionFundamentals
- class \Drupal\Core\Entity\Query\ConditionBase implements ConditionInterface
- class \Drupal\Core\Entity\Query\Sql\Condition
- class \Drupal\Core\Entity\Query\ConditionBase implements ConditionInterface
File
- core/lib/Drupal/Core/Entity/Query/Sql/Condition.php, line 13
Namespace
Drupal\Core\Entity\Query\Sql
Members
Name | Modifiers | Type | Description |
---|---|---|---|
Condition::$query | protected | property | The SQL entity query object this condition belongs to. Overrides ConditionFundamentals::$query |
Condition::compile | public | function | Compiles this conditional clause. Overrides ConditionInterface::compile |
Condition::exists | public | function | Queries for the existence of a field. Overrides ConditionInterface::exists |
Condition::notExists | public | function | Queries for the existence of a field. Overrides ConditionInterface::notExists |
Condition::translateCondition | public static | function | Translates the string operators to SQL equivalents. |
ConditionBase::condition | public | function | Adds a condition. Overrides ConditionInterface::condition |
ConditionFundamentals::$conditions | protected | property | Array of conditions. |
ConditionFundamentals::$conjunction | protected | property | The conjunction of this condition group. The value is one of the following: |
ConditionFundamentals::$namespaces | protected | property | List of potential namespaces of the classes belonging to this condition. |
ConditionFundamentals::conditions | public | function | Gets a complete list of all conditions in this conditional clause. Overrides ConditionInterface::conditions |
ConditionFundamentals::count | public | function | Implements \Countable::count(). Overrides ConditionInterface::count |
ConditionFundamentals::getConjunction | public | function | Gets the current conjunction. Overrides ConditionInterface::getConjunction |
ConditionFundamentals::__clone | public | function | Implements the magic __clone function. |
ConditionFundamentals::__construct | public | function | Constructs a Condition object. |
Please login to continue.