Provides an implementation of ConditionInterface.
Hierarchy
- trait \Drupal\Core\Database\Query\QueryConditionTrait
See also
\Drupal\Core\Database\Query\ConditionInterface
File
- core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php, line 12
Namespace
Drupal\Core\Database\Query
Members
Name | Modifiers | Type | Description |
---|---|---|---|
QueryConditionTrait::$condition | protected | property | The condition object for this query. |
QueryConditionTrait::andConditionGroup | public | function | Creates a new group of conditions ANDed together. Overrides ConditionInterface::andConditionGroup |
QueryConditionTrait::arguments | public | function | Gets a complete list of all values to insert into the prepared statement. Overrides ConditionInterface::arguments |
QueryConditionTrait::compile | public | function | Compiles the saved conditions for later retrieval. Overrides ConditionInterface::compile |
QueryConditionTrait::compiled | public | function | Check whether a condition has been previously compiled. Overrides ConditionInterface::compiled |
QueryConditionTrait::condition | public | function | Helper function: builds the most common conditional clauses. Overrides ConditionInterface::condition |
QueryConditionTrait::conditionGroupFactory | public | function | Creates an object holding a group of conditions. Overrides ConditionInterface::conditionGroupFactory |
QueryConditionTrait::conditions | public | function | Gets a complete list of all conditions in this conditional clause. Overrides ConditionInterface::conditions |
QueryConditionTrait::exists | public | function | Sets a condition that the specified subquery returns values. Overrides ConditionInterface::exists |
QueryConditionTrait::isNotNull | public | function | Sets a condition that the specified field be NOT NULL. Overrides ConditionInterface::isNotNull |
QueryConditionTrait::isNull | public | function | Sets a condition that the specified field be NULL. Overrides ConditionInterface::isNull |
QueryConditionTrait::notExists | public | function | Sets a condition that the specified subquery returns no values. Overrides ConditionInterface::notExists |
QueryConditionTrait::orConditionGroup | public | function | Creates a new group of conditions ORed together. Overrides ConditionInterface::orConditionGroup |
QueryConditionTrait::where | public | function | Adds an arbitrary WHERE clause to the query. Overrides ConditionInterface::where |
Please login to continue.