Interface for entity queries.
Never instantiate classes implementing this interface directly. Always use the QueryFactory class.
Hierarchy
- interface \Drupal\Core\Database\Query\AlterableInterface
- interface \Drupal\Core\Entity\Query\QueryInterface
Related topics
- Database abstraction layer
- Allow the use of different database servers using the same code base.
File
- core/lib/Drupal/Core/Entity/Query/QueryInterface.php, line 15
Namespace
Drupal\Core\Entity\Query
Members
Name | Modifiers | Type | Description |
---|---|---|---|
AlterableInterface::addMetaData | public | function | Adds additional metadata to the query. |
AlterableInterface::addTag | public | function | Adds a tag to a query. |
AlterableInterface::getMetaData | public | function | Retrieves a given piece of metadata. |
AlterableInterface::hasAllTags | public | function | Determines if a given query has all specified tags. |
AlterableInterface::hasAnyTag | public | function | Determines if a given query has any specified tag. |
AlterableInterface::hasTag | public | function | Determines if a given query has a given tag. |
QueryInterface::accessCheck | public | function | |
QueryInterface::allRevisions | public | function | Queries all the revisions. |
QueryInterface::andConditionGroup | public | function | Creates a new group of conditions ANDed together. |
QueryInterface::condition | public | function | Add a condition to the query or a condition group. |
QueryInterface::count | public | function | Makes this a count query. |
QueryInterface::currentRevision | public | function | Queries the current revision. |
QueryInterface::execute | public | function | Execute the query. |
QueryInterface::exists | public | function | Queries for a non-empty value on a field. |
QueryInterface::getEntityTypeId | public | function | Gets the ID of the entity type for this query. |
QueryInterface::notExists | public | function | Queries for an empty field. |
QueryInterface::orConditionGroup | public | function | Creates a new group of conditions ORed together. |
QueryInterface::pager | public | function | Enables a pager for the query. |
QueryInterface::range | public | function | |
QueryInterface::sort | public | function | |
QueryInterface::tableSort | public | function | Enables sortable tables for this query. |
Please login to continue.