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
FetchTest::testQueryFetchAllAssoc function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Tests ::fetchAllAssoc().
FetchTest::testQueryFetchAllColumn function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch all records into an array explicitly.
FetchTest::testQueryFetchArray function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record to an associative array explicitly.
FetchTest::testQueryFetchClass function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record into a new instance of a custom class.
FetchTest::testQueryFetchCol function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch an entire column of a result set at once.
FetchTest::testQueryFetchColEdgeCases function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Tests ::fetchCol() for edge values returned.
FetchTest::testQueryFetchColIndexOutOfRange function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that an out of range index in fetchCol() throws an error.
FetchTest::testQueryFetchColIndexOutOfRangeOnEmptyResultSet function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms empty result set prevails on out of range index in fetchCol().
FetchTest::testQueryFetchColumn function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a single column value.
FetchTest::testQueryFetchColumnOutOfRange function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that an out of range index throws an error.
FetchTest::testQueryFetchDefault function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record properly in default object mode.
FetchTest::testQueryFetchField function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Tests ::fetchField().
FetchTest::testQueryFetchFieldEdgeCases function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Tests ::fetchField() for edge values returned.
FetchTest::testQueryFetchFieldIndexOutOfRange function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that an out of range index in fetchField() throws an error.
FetchTest::testQueryFetchFieldIndexOutOfRangeOnEmptyResultSet function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms empty result set prevails on out of range index in fetchField().
FetchTest::testQueryFetchNum function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record into an indexed array explicitly.
FetchTest::testQueryFetchObject function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record to an object explicitly.
FetchTest::testQueryFetchObjectClass function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record into a class using fetchObject.
FetchTest::testQueryFetchObjectClassNoConstructorArgs function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record into a class without constructor args.
Field::query function core/modules/field/src/Plugin/migrate/source/d6/Field.php Prepares query object to retrieve data from the source database.
Field::query function core/modules/field/src/Plugin/migrate/source/d7/Field.php Prepares query object to retrieve data from the source database.
FieldFormButtonTest::query function core/modules/views/tests/modules/views_test_data/src/Plugin/views/field/FieldFormButtonTest.php Called to add the field to a query.
FieldInstance::query function core/modules/field/src/Plugin/migrate/source/d6/FieldInstance.php Prepares query object to retrieve data from the source database.
FieldInstance::query function core/modules/field/src/Plugin/migrate/source/d7/FieldInstance.php Prepares query object to retrieve data from the source database.
FieldInstanceOptionTranslation::query function core/modules/field/src/Plugin/migrate/source/d6/FieldInstanceOptionTranslation.php Prepares query object to retrieve data from the source database.
FieldInstancePerFormDisplay::query function core/modules/field/src/Plugin/migrate/source/d6/FieldInstancePerFormDisplay.php Prepares query object to retrieve data from the source database.
FieldInstancePerViewMode::query function core/modules/field/src/Plugin/migrate/source/d6/FieldInstancePerViewMode.php Prepares query object to retrieve data from the source database.
FieldKernelTest::testQuery function core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php Tests all things related to the query.
FieldLabelDescriptionTranslation::query function core/modules/field/src/Plugin/migrate/source/d6/FieldLabelDescriptionTranslation.php Prepares query object to retrieve data from the source database.
FieldLabelDescriptionTranslation::query function core/modules/field/src/Plugin/migrate/source/d7/FieldLabelDescriptionTranslation.php Prepares query object to retrieve data from the source database.
FieldOptionTranslation::query function core/modules/field/src/Plugin/migrate/source/d6/FieldOptionTranslation.php Prepares query object to retrieve data from the source database.
FieldOptionTranslation::query function core/modules/field/src/Plugin/migrate/source/d7/FieldOptionTranslation.php Prepares query object to retrieve data from the source database.
FieldPluginBase::query function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Called to add the field to a query.
FieldPluginBaseTest::providerTestGetRenderTokensWithQuery function core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php Data provider for ::testGetRenderTokensWithQuery().
FieldPluginBaseTest::testGetRenderTokensWithQuery function core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php @dataProvider providerTestGetRenderTokensWithQuery
@covers ::getRenderTokens
@covers ::getTokenValuesRecursive
FieldResolver::resolveInternalEntityQueryPath function core/modules/jsonapi/src/Context/FieldResolver.php Resolves external field expressions into entity query compatible paths.
FieldResolverTest::resolveInternalEntityQueryPathErrorProvider function core/modules/jsonapi/tests/src/Kernel/Context/FieldResolverTest.php Provides test cases for ::testResolveInternalEntityQueryPathError.
FieldResolverTest::resolveInternalEntityQueryPathProvider function core/modules/jsonapi/tests/src/Kernel/Context/FieldResolverTest.php Provides test cases for ::testResolveInternalEntityQueryPath.
FieldResolverTest::testResolveInternalEntityQueryPath function core/modules/jsonapi/tests/src/Kernel/Context/FieldResolverTest.php @covers ::resolveInternalEntityQueryPath
@dataProvider resolveInternalEntityQueryPathProvider
FieldResolverTest::testResolveInternalEntityQueryPathError function core/modules/jsonapi/tests/src/Kernel/Context/FieldResolverTest.php Expects an error when an invalid field is provided for filter and sort.
FieldTest::testQueryWithGroupByForBaseField function core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php @covers ::query
FieldTest::testQueryWithGroupByForConfigField function core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php @covers ::query
FieldTestHooks::entityQueryAlter function core/modules/field/tests/modules/field_test/src/Hook/FieldTestHooks.php Implements hook_entity_query_alter().
FieldTestHooks::entityQueryEntityTestMulrevAlter function core/modules/field/tests/modules/field_test/src/Hook/FieldTestHooks.php Implements hook_entity_query_ENTITY_TYPE_alter() for 'entity_test_mulrev'.
FieldTestHooks::entityQueryTagEntityQueryAlterTagTestAlter function core/modules/field/tests/modules/field_test/src/Hook/FieldTestHooks.php Implements hook_entity_query_tag__TAG_alter() for 'entity_query_alter_tag_test'.
FieldTestHooks::entityQueryTagEntityTestMulrevEntityQueryEntityTestMulrevAlterTagTestAlter function core/modules/field/tests/modules/field_test/src/Hook/FieldTestHooks.php Implements hook_entity_query_tag__ENTITY_TYPE__TAG_alter().
FieldTestHooks::queryEfqMetadataTestAlter function core/modules/field/tests/modules/field_test/src/Hook/FieldTestHooks.php Implements hook_query_TAG_alter() for tag 'efq_metadata_test'.
FieldTestHooks::queryEfqTablePrefixingTestAlter function core/modules/field/tests/modules/field_test/src/Hook/FieldTestHooks.php Implements hook_query_TAG_alter() for tag 'efq_table_prefixing_test'.
File::query function core/modules/file/src/Plugin/migrate/source/d6/File.php Prepares query object to retrieve data from the source database.
File::query function core/modules/file/src/Plugin/migrate/source/d7/File.php Prepares query object to retrieve data from the source database.

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