QueryInterface
Displaying 1 - 1 of 1entityQuery simple and standard like a dynamic query
entityQuery allows developers to query Drupal entities and fields in a SQL-like way.
A Drupal site's tables and fields are never a 1-to-1 match for the site's entities and fields - entityQuery allows us to query the database as if they were 1-to-1.
Much like you could write some SQL that returns all rows of table1 where field1 is 14, using entityQuery you can ask Drupal to return all entities of type "basic page" where the value of field_some_field is 14.