Search for query

  1. Search 7.x for query
  2. Search 9.5.x for query
  3. Search 10.3.x for query
  4. Search 11.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
SearchQuery::parseWord function core/modules/search/src/SearchQuery.php Parses a word or phrase for parseQuery().
SearchQuery::preExecute function core/modules/search/src/SearchQuery.php Generic preparation and validation for a SELECT query.
SearchQuery::prepareAndNormalize function core/modules/search/src/SearchQuery.php Prepares the query and calculates the normalization factor.
SearchQuery::searchExpression function core/modules/search/src/SearchQuery.php Sets the search query expression.
SearchQueryAlterTest class core/modules/search/tests/src/Functional/SearchQueryAlterTest.php Tests that the node search query can be altered via the query alter hook.
SearchQueryAlterTest.php file core/modules/search/tests/src/Functional/SearchQueryAlterTest.php
SearchQueryAlterTest::$defaultTheme property core/modules/search/tests/src/Functional/SearchQueryAlterTest.php The theme to install as the default for testing.
SearchQueryAlterTest::$modules property core/modules/search/tests/src/Functional/SearchQueryAlterTest.php Modules to enable.
SearchQueryAlterTest::testQueryAlter function core/modules/search/tests/src/Functional/SearchQueryAlterTest.php Tests that the query alter works.
search_date_query_alter.info.yml file core/modules/search/tests/modules/search_date_query_alter/search_date_query_alter.info.yml core/modules/search/tests/modules/search_date_query_alter/search_date_query_alter.info.yml
search_date_query_alter.module file core/modules/search/tests/modules/search_date_query_alter/search_date_query_alter.module Adds date conditions to node searches.
search_date_query_alter_query_search_node_search_alter function core/modules/search/tests/modules/search_date_query_alter/search_date_query_alter.module Implements hook_query_TAG_alter(): tag search_$type with $type node_search.
search_query_alter.info.yml file core/modules/search/tests/modules/search_query_alter/search_query_alter.info.yml core/modules/search/tests/modules/search_query_alter/search_query_alter.info.yml
search_query_alter.module file core/modules/search/tests/modules/search_query_alter/search_query_alter.module Test module that alters search queries.
search_query_alter_query_search_node_search_alter function core/modules/search/tests/modules/search_query_alter/search_query_alter.module Implements hook_query_TAG_alter(): tag search_$type with $type node_search.
Select::countQuery function core/lib/Drupal/Core/Database/Query/Select.php Get the equivalent COUNT query of this query as a new query object.
Select::prepareCountQuery function core/lib/Drupal/Core/Database/Query/Select.php Prepares a count query from the current query object.
SelectCloneTest::testNestedQueryCloning function core/tests/Drupal/KernelTests/Core/Database/SelectCloneTest.php Tests that nested SELECT queries are cloned properly.
SelectCloneTest::testSelectConditionSubQueryCloning function core/tests/Drupal/KernelTests/Core/Database/SelectCloneTest.php Test that subqueries as value within conditions are cloned properly.
SelectComplexTest::testCountQuery function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests that we can generate a count query from a built query.
SelectComplexTest::testCountQueryDistinct function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests that we can generate a count query from a query with distinct.
SelectComplexTest::testCountQueryFieldRemovals function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests that countQuery properly removes fields and expressions.
SelectComplexTest::testCountQueryGroupBy function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests that we can generate a count query from a query with GROUP BY.
SelectComplexTest::testCountQueryRemovals function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests that countQuery removes 'all_fields' statements and ordering clauses.
SelectComplexTest::testHavingCountQuery function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests having queries.
SelectComplexTest::testJoinSubquery function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests that we can join on a query.
SelectExtender::$query property core/lib/Drupal/Core/Database/Query/SelectExtender.php The Select query object we are extending/decorating.
SelectExtender::countQuery function core/lib/Drupal/Core/Database/Query/SelectExtender.php Get the equivalent COUNT query of this query as a new query object.
SelectInterface::countQuery function core/lib/Drupal/Core/Database/Query/SelectInterface.php Get the equivalent COUNT query of this query as a new query object.
SelectionInterface::entityQueryAlter function core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php Allows the selection to alter the SelectQuery generated by EntityFieldQuery.
SelectionPluginBase::entityQueryAlter function core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginBase.php Allows the selection to alter the SelectQuery generated by EntityFieldQuery.
SelectPagerDefaultTest::testEvenPagerQuery function core/modules/system/tests/src/Functional/Database/SelectPagerDefaultTest.php Confirms that a pager query returns the correct results.
SelectPagerDefaultTest::testHavingPagerQuery function core/modules/system/tests/src/Functional/Database/SelectPagerDefaultTest.php Confirms that a paging query results with a having expression are valid.
SelectPagerDefaultTest::testInnerPagerQuery function core/modules/system/tests/src/Functional/Database/SelectPagerDefaultTest.php Confirms that a pager query results with an inner pager query are valid.
SelectPagerDefaultTest::testOddPagerQuery function core/modules/system/tests/src/Functional/Database/SelectPagerDefaultTest.php Confirms that a pager query returns the correct results.
SelectSubqueryTest class core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Tests the Select query builder.
SelectSubqueryTest.php file core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php
SelectSubqueryTest::testConditionSubquerySelect function core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Tests that we can use a subquery with an IN operator in a WHERE clause.
SelectSubqueryTest::testConditionSubquerySelect2 function core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Test that we can use a subquery with a relational operator in a WHERE clause.
SelectSubqueryTest::testConditionSubquerySelect3 function core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Test that we can use 2 subqueries with a relational operator in a WHERE clause.
SelectSubqueryTest::testConditionSubquerySelect4 function core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Test that we can use multiple subqueries.
SelectSubqueryTest::testExistsSubquerySelect function core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Tests EXISTS subquery conditionals on SELECT statements.
SelectSubqueryTest::testFromSubquerySelect function core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Tests that we can use a subquery in a FROM clause.
SelectSubqueryTest::testFromSubquerySelectWithLimit function core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Tests that we can use a subquery in a FROM clause with a LIMIT.
SelectSubqueryTest::testJoinSubquerySelect function core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Tests that we can use a subquery in a JOIN clause.
SelectSubqueryTest::testNotExistsSubquerySelect function core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Tests NOT EXISTS subquery conditionals on SELECT statements.
SelectTableSortDefaultTest::testTableSortQuery function core/modules/system/tests/src/Functional/Database/SelectTableSortDefaultTest.php Confirms that a tablesort query returns the correct results.
SelectTableSortDefaultTest::testTableSortQueryFirst function core/modules/system/tests/src/Functional/Database/SelectTableSortDefaultTest.php Confirms precedence of tablesorts headers.
SerializeQueryTest class core/tests/Drupal/KernelTests/Core/Database/SerializeQueryTest.php Tests serializing and unserializing a query.
SerializeQueryTest.php file core/tests/Drupal/KernelTests/Core/Database/SerializeQueryTest.php

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