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
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/migrate/src/Plugin/migrate/source/SqlBase.php
SqlBase::query function core/modules/views/src/Plugin/views/pager/SqlBase.php Modify the query for paging.
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().
SqlQueryTest::viewsData function core/modules/views/tests/src/Kernel/Plugin/SqlQueryTest.php Returns the views data definition.
StatementInterface::getQueryString function core/lib/Drupal/Core/Database/StatementInterface.php Gets the query string of this statement.
StatementPrefetchIterator::getQueryString function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Gets the query string of this statement.
StatementWrapperIterator::getQueryString function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Gets the query string of this statement.
StatisticsLastCommentName::query function core/modules/comment/src/Plugin/views/sort/StatisticsLastCommentName.php Called to add the sort to a query.
StatisticsLastCommentName::query function core/modules/comment/src/Plugin/views/field/StatisticsLastCommentName.php Called to add the field to a query.
StatisticsLastUpdated::query function core/modules/comment/src/Plugin/views/sort/StatisticsLastUpdated.php Called to add the sort to a query.
StatisticsLastUpdated::query function core/modules/comment/src/Plugin/views/field/StatisticsLastUpdated.php Called to add the field to a query.
StatisticsLastUpdated::query function core/modules/comment/src/Plugin/views/filter/StatisticsLastUpdated.php Add this filter to the query.
Status::query function core/modules/media/src/Plugin/views/filter/Status.php Add this filter to the query.
Status::query function core/modules/node/src/Plugin/views/filter/Status.php Add this filter to the query.
StringArgument::query function core/modules/views/src/Plugin/views/argument/StringArgument.php Build the query based upon the formula.
StringArgument::summaryQuery function core/modules/views/src/Plugin/views/argument/StringArgument.php Build the summary query based on a string.
StringArgument::titleQuery function core/modules/views/src/Plugin/views/argument/StringArgument.php Override for specific title lookups.
StringFilter::query function core/modules/views/src/Plugin/views/filter/StringFilter.php Add this filter to the query.
StubConnection::queryRange function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php Runs a limited-range query on this database object.
StylePluginBase::query function core/modules/views/src/Plugin/views/style/StylePluginBase.php Add anything to the query that we might need to.
Subquery class core/modules/views/src/Plugin/views/join/Subquery.php Join handler for relationships that join with a subquery as the left field.
Subquery.php file core/modules/views/src/Plugin/views/join/Subquery.php
Subquery::$left_query property core/modules/views/src/Plugin/views/join/Subquery.php
Subquery::buildJoin function core/modules/views/src/Plugin/views/join/Subquery.php Builds the SQL for the join this object represents.
Subquery::__construct function core/modules/views/src/Plugin/views/join/Subquery.php Constructs a Subquery object.
SupportsTemporaryTablesInterface::queryTemporary function core/lib/Drupal/Core/Database/SupportsTemporaryTablesInterface.php Runs a SELECT query and stores its results in a temporary table.
SystemHooks::queryEntityReferenceAlter function core/modules/system/src/Hook/SystemHooks.php Implements hook_query_TAG_alter() for entity reference selection handlers.
Tables::$sqlQuery property core/lib/Drupal/Core/Entity/Query/Sql/Tables.php
TableSort::getQueryParameters function core/lib/Drupal/Core/Utility/TableSort.php Composes a URL query parameter array for table sorting links.
Tasks::runTestQuery function core/lib/Drupal/Core/Database/Install/Tasks.php Ensures the database can execute commands with the current user.
TaxonomyIndexDepthQueryTrait trait core/modules/taxonomy/src/TaxonomyIndexDepthQueryTrait.php Builds a performant depth subquery and adds it as a join to the query.
TaxonomyIndexDepthQueryTrait.php file core/modules/taxonomy/src/TaxonomyIndexDepthQueryTrait.php
TaxonomyIndexDepthQueryTrait::addSubQueryJoin function core/modules/taxonomy/src/TaxonomyIndexDepthQueryTrait.php Builds a performant depth subquery and adds it as a join to the query.
TaxonomyIndexTid::query function core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php Add this term to the query.
TaxonomyIndexTidDepth::query function core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTidDepth.php Add this filter to the query.
TaxonomyQueryAlterTest class core/modules/taxonomy/tests/src/Kernel/TaxonomyQueryAlterTest.php Tests that appropriate query tags are added.
TaxonomyQueryAlterTest.php file core/modules/taxonomy/tests/src/Kernel/TaxonomyQueryAlterTest.php
TaxonomyQueryAlterTest::$modules property core/modules/taxonomy/tests/src/Kernel/TaxonomyQueryAlterTest.php Modules to install.

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