public function DatabaseConnection_mysql::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.
Overrides DatabaseConnection::mapConditionOperator
See also
File
- includes/
database/ mysql/ database.inc, line 478 - Database interface code for MySQL database servers.
Class
Code
public function mapConditionOperator($operator) {
// We don't want to override any of the defaults.
return NULL;
}