Connection::$sqliteConditionOperatorMap
A map of condition operators to SQLite operators.
We don't want to override any of the defaults.
Type: sqliteConditionOperatorMap
File
-
core/
modules/ sqlite/ src/ Driver/ Database/ sqlite/ Connection.php, line 42
Class
- Connection
- SQLite implementation of \Drupal\Core\Database\Connection.
Namespace
Drupal\sqlite\Driver\Database\sqliteCode
protected static $sqliteConditionOperatorMap = [
'LIKE' => [
'postfix' => " ESCAPE '\\'",
],
'NOT LIKE' => [
'postfix' => " ESCAPE '\\'",
],
'LIKE BINARY' => [
'postfix' => " ESCAPE '\\'",
'operator' => 'GLOB',
],
'NOT LIKE BINARY' => [
'postfix' => " ESCAPE '\\'",
'operator' => 'NOT GLOB',
],
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.