SelectInterface::countQuery

public SelectInterface::countQuery()

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

Return value

\Drupal\Core\Database\Query\SelectInterface A new SelectQuery object with no fields or expressions besides COUNT(*).

File

core/lib/Drupal/Core/Database/Query/SelectInterface.php, line 496

Class

SelectInterface
Interface definition for a Select Query object.

Namespace

Drupal\Core\Database\Query

Code

public function countQuery();
doc_Drupal
2016-10-29 09:41:40
Comments
Leave a Comment

Please login to continue.