QueryInterface::count

public QueryInterface::count()

Makes this a count query.

For count queries, execute() returns the number entities found.

Return value

\Drupal\Core\Entity\Query\QueryInterface The called object.

File

core/lib/Drupal/Core/Entity/Query/QueryInterface.php, line 162

Class

QueryInterface
Interface for entity queries.

Namespace

Drupal\Core\Entity\Query

Code

1
public function count();
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.