Search for query

  1. Search 7.x for query
  2. Search 9.5.x for query
  3. Search 8.9.x for query
  4. Search 10.3.x for query
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Query class core/modules/workspaces/src/EntityQuery/Query.php Alters entity queries to use a workspace revision instead of the default one.
Query class core/lib/Drupal/Core/Config/Entity/Query/Query.php Defines the entity query for configuration entities.
Query class core/lib/Drupal/Core/Database/Query/Query.php Base class for query builders.
Query class core/lib/Drupal/Core/Entity/Query/Sql/Query.php The SQL storage entity query class.
Query class core/lib/Drupal/Core/Entity/Query/Null/Query.php Defines the entity query for configuration entities.
Query class core/lib/Drupal/Core/Entity/KeyValueStore/Query/Query.php Defines the entity query for entities stored in a key value backend.

All search results

Title Object type File name Summary
Query::__construct function core/lib/Drupal/Core/Config/Entity/Query/Query.php Constructs a Query object.
Query::__construct function core/lib/Drupal/Core/Database/Query/Query.php Constructs a Query object.
Query::__construct function core/lib/Drupal/Core/Entity/Query/Sql/Query.php Constructs a query object.
Query::__construct function core/lib/Drupal/Core/Entity/KeyValueStore/Query/Query.php Constructs a new Query.
Query::__sleep function core/lib/Drupal/Core/Database/Query/Query.php Implements the magic __sleep function to disconnect from the database.
Query::__toString function core/lib/Drupal/Core/Database/Query/Query.php Implements PHP magic __toString method to convert the query to a string.
Query::__toString function core/lib/Drupal/Core/Entity/Query/Sql/Query.php Implements the magic __toString method.
Query::__wakeup function core/lib/Drupal/Core/Database/Query/Query.php Implements the magic __wakeup function to reconnect to the database.
QueryAggregate class core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php The SQL storage entity query aggregate class.
QueryAggregate class core/modules/workspaces/src/EntityQuery/QueryAggregate.php Alters aggregate entity queries to use a workspace revision if possible.
QueryAggregate.php file core/modules/workspaces/src/EntityQuery/QueryAggregate.php
QueryAggregate.php file core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php
QueryAggregate::$sqlExpressions property core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php Stores the sql expressions used to build the sql query.
QueryAggregate::addAggregate function core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php Adds the aggregations to the query.
QueryAggregate::addGroupBy function core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php Adds the groupby values to the actual query.
QueryAggregate::addSortAggregate function core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php Builds the aggregation sort part of the query.
QueryAggregate::compileAggregate function core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php Builds the aggregation conditions part of the query.
QueryAggregate::conditionAggregateGroupFactory function core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php Creates an object holding a group of conditions.
QueryAggregate::createSqlAlias function core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php Builds a sql alias as expected in the result.
QueryAggregate::execute function core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php Execute the query.
QueryAggregate::existsAggregate function core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php Queries for the existence of a field.
QueryAggregate::finish function core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php Overrides \Drupal\Core\Entity\Query\Sql\Query::finish().
QueryAggregate::notExistsAggregate function core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php Queries for the nonexistence of a field.
QueryAggregate::prepare function core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php Prepares the basic query with proper metadata/tags and base fields.
QueryAggregate::prepare function core/modules/workspaces/src/EntityQuery/QueryAggregate.php Prepares the basic query with proper metadata/tags and base fields.
QueryAggregate::result function core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php Overrides \Drupal\Core\Entity\Query\Sql\Query::result().
QueryAggregateInterface interface core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php Defines an interface for aggregated entity queries.
QueryAggregateInterface.php file core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php
QueryAggregateInterface::aggregate function core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php Specifies a field and a function to aggregate on.
QueryAggregateInterface::conditionAggregate function core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php Sets a condition for an aggregated value.
QueryAggregateInterface::conditionAggregateGroupFactory function core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php Creates an object holding a group of conditions.
QueryAggregateInterface::execute function core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php Executes the aggregate query.
QueryAggregateInterface::existsAggregate function core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php Queries for the existence of a field.
QueryAggregateInterface::groupBy function core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php Specifies the field to group on.
QueryAggregateInterface::notExistsAggregate function core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php Queries for the nonexistence of a field.
QueryAggregateInterface::sortAggregate function core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php Sorts by an aggregated value.
QueryArgsCacheContext class core/lib/Drupal/Core/Cache/Context/QueryArgsCacheContext.php Defines the QueryArgsCacheContext service, for "per query args" caching.
QueryArgsCacheContext.php file core/lib/Drupal/Core/Cache/Context/QueryArgsCacheContext.php
QueryArgsCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/QueryArgsCacheContext.php Gets the cacheability metadata for the context based on the parameter value.
QueryArgsCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/QueryArgsCacheContext.php Returns the string representation of the cache context.
QueryArgsCacheContext::getLabel function core/lib/Drupal/Core/Cache/Context/QueryArgsCacheContext.php Returns the label of the cache context.
QueryArgsCacheContextTest class core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php @coversDefaultClass \Drupal\Core\Cache\Context\QueryArgsCacheContext
@group Cache
QueryArgsCacheContextTest.php file core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php
QueryArgsCacheContextTest::providerTestGetContext function core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php Provides a list of query arguments and expected cache contexts.
QueryArgsCacheContextTest::testGetContext function core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php @covers ::getContext
QueryBase class core/lib/Drupal/Core/Entity/Query/QueryBase.php The base entity query class.
QueryBase.php file core/lib/Drupal/Core/Entity/Query/QueryBase.php
QueryBase::$accessCheck property core/lib/Drupal/Core/Entity/Query/QueryBase.php Whether access check is requested or not.
QueryBase::$aggregate property core/lib/Drupal/Core/Entity/Query/QueryBase.php The list of aggregate expressions.
QueryBase::$allRevisions property core/lib/Drupal/Core/Entity/Query/QueryBase.php Flag indicating whether to query the current revision or all revisions.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.