function DatabaseConnection_sqlite::mapConditionOperator
Overrides DatabaseConnection::mapConditionOperator
File
-
includes/
database/ sqlite/ database.inc, line 289
Class
- DatabaseConnection_sqlite
- Specific SQLite implementation of DatabaseConnection.
Code
public function mapConditionOperator($operator) {
// We don't want to override any of the defaults.
static $specials = array(
'LIKE' => array(
'postfix' => " ESCAPE '\\'",
),
'NOT LIKE' => array(
'postfix' => " ESCAPE '\\'",
),
);
return isset($specials[$operator]) ? $specials[$operator] : NULL;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.