You are here

abstract public function DatabaseConnection::mapConditionOperator in Drupal 7

Gets any special processing requirements for the condition operator.

Some condition types require special processing, such as IN, because the value data they pass in is not a simple value. This is a simple overridable lookup function. Database connections should define only those operators they wish to be handled differently than the default.

Parameters

$operator: The condition operator, such as "IN", "BETWEEN", etc. Case-sensitive.

Return value

The extra handling directives for the specified operator, or NULL.

See also

DatabaseCondition::compile()

3 methods override DatabaseConnection::mapConditionOperator()
DatabaseConnection_mysql::mapConditionOperator in includes/database/mysql/database.inc
Gets any special processing requirements for the condition operator.
DatabaseConnection_pgsql::mapConditionOperator in includes/database/pgsql/database.inc
Gets any special processing requirements for the condition operator.
DatabaseConnection_sqlite::mapConditionOperator in includes/database/sqlite/database.inc
Gets any special processing requirements for the condition operator.

File

includes/database/database.inc, line 1350
Core systems for the database layer.

Class

DatabaseConnection
Base Database API class.

Code

public abstract function mapConditionOperator($operator);