public function SelectQueryExtender::countQuery

cis7 select.inc public SelectQueryExtender::countQuery()
cle7 select.inc public SelectQueryExtender::countQuery()
elmsmedia7 select.inc public SelectQueryExtender::countQuery()
icor7 select.inc public SelectQueryExtender::countQuery()
meedjum_blog7 select.inc public SelectQueryExtender::countQuery()
mooc7 select.inc public SelectQueryExtender::countQuery()

Get the equivalent COUNT query of this query as a new query object.

Return value

SelectQueryInterface A new SelectQuery object with no fields or expressions besides COUNT(*).

Overrides SelectQueryInterface::countQuery

1 method overrides SelectQueryExtender::countQuery()
SearchQuery::countQuery in modules/search/search.extender.inc
Builds the default count query for SearchQuery.

File

includes/database/select.inc, line 794

Class

SelectQueryExtender
The base extender class for Select queries.

Code

public function countQuery() {
  return $this->query->countQuery();
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.