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
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 Tests we can use a subquery with a relational operator in a WHERE clause.
SelectSubqueryTest::testConditionSubquerySelect3 function core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Tests we can use 2 subqueries with a relational operator in a WHERE clause.
SelectSubqueryTest::testConditionSubquerySelect4 function core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Tests 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
SerializeQueryTest::testSerializeQuery function core/tests/Drupal/KernelTests/Core/Database/SerializeQueryTest.php Confirms that a query can be serialized and unserialized.
Shortcut::query function core/modules/shortcut/src/Plugin/migrate/source/d7/Shortcut.php
ShortcutSet::query function core/modules/shortcut/src/Plugin/migrate/source/d7/ShortcutSet.php
ShortcutSetUsers::query function core/modules/shortcut/src/Plugin/migrate/source/d7/ShortcutSetUsers.php
Some::query function core/modules/views/src/Plugin/views/pager/Some.php Modify the query for paging.
Some::useCountQuery function core/modules/views/src/Plugin/views/pager/Some.php Determine if a pager needs a count query.
Sort::createFromQueryParameter function core/modules/jsonapi/src/Query/Sort.php Creates a Sort object from a query parameter.
SortPluginBase::query function core/modules/views/src/Plugin/views/sort/SortPluginBase.php Called to add the sort to a query.
SortTest::testCreateFromQueryParameter function core/modules/jsonapi/tests/src/Unit/Query/SortTest.php @covers ::createFromQueryParameter
@dataProvider parameterProvider
SortTest::testCreateFromQueryParameterFail function core/modules/jsonapi/tests/src/Unit/Query/SortTest.php @covers ::createFromQueryParameter
@dataProvider badParameterProvider
Sql::$query property core/modules/migrate/src/Plugin/migrate/id_map/Sql.php The select query.
Sql::query function core/modules/views/src/Plugin/views/query/Sql.php Generates a query and count query from all of the information supplied.
SqlBase::$query property core/modules/migrate/src/Plugin/migrate/source/SqlBase.php The query string.
SqlBase::prepareQuery function core/modules/migrate/src/Plugin/migrate/source/SqlBase.php Adds tags and metadata to the query.
SqlBase::query function core/modules/views/src/Plugin/views/pager/SqlBase.php Modify the query for paging.
SqlBase::query function core/modules/migrate/src/Plugin/migrate/source/SqlBase.php
SqlBaseTest::testQuery function core/modules/views/tests/src/Unit/Plugin/pager/SqlBaseTest.php Tests the query() method.
SqlContentEntityStorage::buildPropertyQuery function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Builds an entity query.
SqlContentEntityStorage::buildQuery function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Builds the query to load the entity.
SqlContentEntityStorage::getQueryServiceName function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Gets the name of the service for the query for this entity storage.
SqlContentEntityStorageSchema::getSelectQueryForFieldStorageDeletion function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Returns a SELECT query suitable for inserting data into a dedicated table.
SqlCountCache::query function core/modules/migrate/tests/modules/migrate_sql_count_cache_test/src/Plugin/migrate/source/SqlCountCache.php
SqlQueryTest class core/modules/views/tests/src/Kernel/Plugin/SqlQueryTest.php Tests the sql query plugin.
SqlQueryTest.php file core/modules/views/tests/src/Kernel/Plugin/SqlQueryTest.php
SqlQueryTest::$testViews property core/modules/views/tests/src/Kernel/Plugin/SqlQueryTest.php Views used by this test.
SqlQueryTest::testExecuteMetadata function core/modules/views/tests/src/Kernel/Plugin/SqlQueryTest.php Tests adding some metadata/tags to the views query.
SqlQueryTest::testGetConnection function core/modules/views/tests/src/Kernel/Plugin/SqlQueryTest.php Tests the method \Drupal\views\Plugin\views\query\Sql::getConnection().

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