QueryInterface::execute

public 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.

File

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

Class

QueryInterface
Interface for entity queries.

Namespace

Drupal\Core\Entity\Query

Code

public function execute();
doc_Drupal
2016-10-29 09:35:58
Comments
Leave a Comment

Please login to continue.