services:
  logger.channel.search_api_db:
    parent: logger.channel_base
    arguments: ['search_api_db']

  search_api_db.database_compatibility:
    class: Drupal\search_api_db\DatabaseCompatibility\GenericDatabase
    arguments: ['@database', '@transliteration']
    tags:
      - { name: backend_overridable }

  mysql.search_api_db.database_compatibility:
    class: Drupal\search_api_db\DatabaseCompatibility\MySql
    arguments: ['@database', '@transliteration']

  pgsql.search_api_db.database_compatibility:
    class: Drupal\search_api_db\DatabaseCompatibility\CaseSensitiveDatabase
    arguments: ['@database', '@transliteration']

  sqlite.search_api_db.database_compatibility:
    class: Drupal\search_api_db\DatabaseCompatibility\CaseSensitiveDatabase
    arguments: ['@database', '@transliteration']
