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
QueryFactory::__construct function core/lib/Drupal/Core/Entity/KeyValueStore/Query/QueryFactory.php Constructs a QueryFactory object.
QueryFactory::__construct function core/modules/workspaces/src/EntityQuery/QueryFactory.php Constructs a QueryFactory object.
QueryFactoryInterface interface core/lib/Drupal/Core/Entity/Query/QueryFactoryInterface.php Defines an interface for QueryFactory classes.
QueryFactoryInterface.php file core/lib/Drupal/Core/Entity/Query/QueryFactoryInterface.php
QueryFactoryInterface::get function core/lib/Drupal/Core/Entity/Query/QueryFactoryInterface.php Instantiates an entity query for a given entity type.
QueryFactoryInterface::getAggregate function core/lib/Drupal/Core/Entity/Query/QueryFactoryInterface.php Instantiates an aggregation query object for a given entity type.
QueryFactoryTest class core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php @coversDefaultClass \Drupal\Core\Config\Entity\Query\QueryFactory
@group Config
QueryFactoryTest.php file core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php
QueryFactoryTest::getConfigObject function core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php Gets a test configuration object.
QueryFactoryTest::providerTestGetKeys function core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php
QueryFactoryTest::testGetKeys function core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php @covers ::getKeys
@covers ::getValues
QueryFactoryTest::testGetKeysWildCardEnd function core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php @covers ::getKeys
@covers ::getValues
QueryGroupByTest class core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests aggregate functionality of views, for example count.
QueryGroupByTest.php file core/modules/views/tests/src/Kernel/QueryGroupByTest.php
QueryGroupByTest::$modules property core/modules/views/tests/src/Kernel/QueryGroupByTest.php Modules to install.
QueryGroupByTest::$storage property core/modules/views/tests/src/Kernel/QueryGroupByTest.php The storage for the test entity type.
QueryGroupByTest::$testViews property core/modules/views/tests/src/Kernel/QueryGroupByTest.php Views used by this test.
QueryGroupByTest::groupByTestHelper function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Provides a test helper which runs a view with some aggregation function.
QueryGroupByTest::setUp function core/modules/views/tests/src/Kernel/QueryGroupByTest.php
QueryGroupByTest::setupTestEntities function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Helper method that creates some test entities.
QueryGroupByTest::testAggregateCount function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests aggregate count feature.
QueryGroupByTest::testAggregateCountFunction function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests aggregate count feature with no group by.
QueryGroupByTest::testGroupByAverage function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests the average aggregation function.
QueryGroupByTest::testGroupByBaseField function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests grouping on base field.
QueryGroupByTest::testGroupByCount function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests the count aggregation function.
QueryGroupByTest::testGroupByCountOnlyFilters function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests groupby with filters.
QueryGroupByTest::testGroupByFieldWithCardinality function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests grouping a field with cardinality > 1.
QueryGroupByTest::testGroupByMax function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests the max aggregation function.
QueryGroupByTest::testGroupByMin function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests the min aggregation function.
QueryGroupByTest::testGroupByNone function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests aggregation with no specific function.
QueryGroupByTest::testGroupBySum function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests the sum aggregation function.
QueryGroupByTest::testGroupByWithFieldsNotExistingOnBundle function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests groupby with a non-existent field on some bundle.
QueryInterface interface core/lib/Drupal/Core/Entity/Query/QueryInterface.php Interface for entity queries.
QueryInterface.php file core/lib/Drupal/Core/Entity/Query/QueryInterface.php
QueryInterface::accessCheck function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Enables or disables access checking for this query.
QueryInterface::allRevisions function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Queries all the revisions.
QueryInterface::andConditionGroup function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Creates a new group of conditions ANDed together.
QueryInterface::condition function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Add a condition to the query or a condition group.
QueryInterface::count function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Makes this a count query.
QueryInterface::currentRevision function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Limits the query to only default revisions.
QueryInterface::execute function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Execute the query.
QueryInterface::exists function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Queries for a non-empty value on a field.
QueryInterface::getEntityTypeId function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Gets the ID of the entity type for this query.
QueryInterface::latestRevision function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Queries the latest revision.
QueryInterface::notExists function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Queries for an empty field.
QueryInterface::orConditionGroup function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Creates a new group of conditions ORed together.
QueryInterface::pager function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Enables a pager for the query.
QueryInterface::range function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Defines the range of the query.
QueryInterface::sort function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Sorts the result set by a given field.
QueryInterface::tableSort function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Enables sortable tables for this query.

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