You are here

public function QueryPreExecuteEvent::getDbQuery in Search API 8

Retrieves the database query.

Will have "item_id" and "score" columns in its result.

Return value

\Drupal\Core\Database\Query\SelectInterface The database query.

File

modules/search_api_db/src/Event/QueryPreExecuteEvent.php, line 49

Class

QueryPreExecuteEvent
Wraps a query pre-execute event.

Namespace

Drupal\search_api_db\Event

Code

public function getDbQuery() {
  return $this->dbQuery;
}