Connection::$sqliteConditionOperatorMap
Same name in other branches
- 9 core/modules/sqlite/src/Driver/Database/sqlite/Connection.php \Drupal\sqlite\Driver\Database\sqlite\Connection::sqliteConditionOperatorMap
- 10 core/modules/sqlite/src/Driver/Database/sqlite/Connection.php \Drupal\sqlite\Driver\Database\sqlite\Connection::sqliteConditionOperatorMap
- 11.x core/modules/sqlite/src/Driver/Database/sqlite/Connection.php \Drupal\sqlite\Driver\Database\sqlite\Connection::sqliteConditionOperatorMap
A map of condition operators to SQLite operators.
We don't want to override any of the defaults.
Type: sqliteConditionOperatorMap
File
-
core/
lib/ Drupal/ Core/ Database/ Driver/ sqlite/ Connection.php, line 31
Class
- Connection
- SQLite implementation of \Drupal\Core\Database\Connection.
Namespace
Drupal\Core\Database\Driver\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.