You are here

protected static property Connection::$sqliteConditionOperatorMap in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php \Drupal\Core\Database\Driver\sqlite\Connection::sqliteConditionOperatorMap

A map of condition operators to SQLite operators.

We don't want to override any of the defaults.

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\sqlite

Code

protected static $sqliteConditionOperatorMap = [
  'LIKE' => [
    'postfix' => " ESCAPE '\\'",
  ],
  'NOT LIKE' => [
    'postfix' => " ESCAPE '\\'",
  ],
  'LIKE BINARY' => [
    'postfix' => " ESCAPE '\\'",
    'operator' => 'GLOB',
  ],
  'NOT LIKE BINARY' => [
    'postfix' => " ESCAPE '\\'",
    'operator' => 'NOT GLOB',
  ],
];