Interface for a conditional clause in a query.

Implemented by

Hierarchy

Expanded class hierarchy of QueryConditionInterface

Related topics

File

core/includes/database/query.inc, line 15
Non-specific Database query code. Used by all engines.

Members

Contains filters are case sensitive
Name Modifiers Typesort descending Description
QueryConditionInterface::condition public function Helper function: builds the most common conditional clauses.
QueryConditionInterface::where public function Adds an arbitrary WHERE clause to the query.
QueryConditionInterface::isNull public function Sets a condition that the specified field be NULL.
QueryConditionInterface::isNotNull public function Sets a condition that the specified field be NOT NULL.
QueryConditionInterface::exists public function Sets a condition that the specified subquery returns values.
QueryConditionInterface::notExists public function Sets a condition that the specified subquery returns no values.
QueryConditionInterface::conditions public function Gets a complete list of all conditions in this conditional clause.
QueryConditionInterface::arguments public function Gets a complete list of all values to insert into the prepared statement.
QueryConditionInterface::compile public function Compiles the saved conditions for later retrieval.
QueryConditionInterface::compiled public function Check whether a condition has been previously compiled.