public function SearchApiQuery::ensureTable in Search API 8
Ensures a table exists in the query.
This replicates the interface of Views' default SQL backend to simplify the Views integration of the Search API. Since the Search API has no concept of "tables", this method implementation does nothing. If you are writing Search API-specific Views code, there is therefore no reason at all to call this method. See https://www.drupal.org/node/2484565 for more information.
Return value
string An empty string.
File
- src/
Plugin/ views/ query/ SearchApiQuery.php, line 1520
Class
- SearchApiQuery
- Defines a Views query class for searching on Search API indexes.
Namespace
Drupal\search_api\Plugin\views\queryCode
public function ensureTable() {
return '';
}