Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Connection.php

Connection::$sqliteConditionOperatorMap

A map of condition operators to SQLite operators.

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

Type: string[][]

File

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

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',
    ],
];
RSS feed
Powered by Drupal