You are here

public function DatabaseCompatibilityHandlerInterface::getDatabase in Search API 8

Retrieves the database connection this compatibility handler is based upon.

Return value

\Drupal\Core\Database\Connection The database connection.

1 method overrides DatabaseCompatibilityHandlerInterface::getDatabase()
GenericDatabase::getDatabase in modules/search_api_db/src/DatabaseCompatibility/GenericDatabase.php
Retrieves the database connection this compatibility handler is based upon.

File

modules/search_api_db/src/DatabaseCompatibility/DatabaseCompatibilityHandlerInterface.php, line 23

Class

DatabaseCompatibilityHandlerInterface
Bundles methods for resolving DBMS-specific differences.

Namespace

Drupal\search_api_db\DatabaseCompatibility

Code

public function getDatabase();