function QueryPluginBase::query

Generate a query and a countQuery from all of the information supplied.

Parameters

$get_count: Provide a countQuery if this is true, otherwise provide a normal query.

Overrides PluginBase::query

1 method overrides QueryPluginBase::query()
Sql::query in core/modules/views/src/Plugin/views/query/Sql.php
Generates a query and count query from all of the information supplied.

File

core/modules/views/src/Plugin/views/query/QueryPluginBase.php, line 68

Class

QueryPluginBase
Base plugin class for Views queries.

Namespace

Drupal\views\Plugin\views\query

Code

public function query($get_count = FALSE) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.