public function QueryInterface::execute

Execute the query.

Return value

int|array Returns an integer for count queries or an array of ids. The values of the array are always entity ids. The keys will be revision ids if the entity supports revision and entity ids if not.

1 method overrides QueryInterface::execute()
Query::execute in drupal/core/modules/field/modules/field_sql_storage/lib/Drupal/field_sql_storage/Entity/Query.php
Implements Drupal\Core\Entity\Query\QueryInterface::execute().

File

drupal/core/lib/Drupal/Core/Entity/Query/QueryInterface.php, line 178
Definition of Drupal\Core\Entity\QueryInterface.

Class

QueryInterface
Interface for entity queries.

Namespace

Drupal\Core\Entity\Query

Code

public function execute();