You are here

protected static property Connection::$sqliteConditionOperatorMap in Drupal 10

A map of condition operators to SQLite operators.

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

File

core/modules/sqlite/src/Driver/Database/sqlite/Connection.php, line 36

Class

Connection
SQLite implementation of \Drupal\Core\Database\Connection.

Namespace

Drupal\sqlite\Driver\Database\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',
  ],
];