Search for fetchAll

  1. Search 7.x for fetchAll
  2. Search 9.5.x for fetchAll
  3. Search 8.9.x for fetchAll
  4. Search 10.3.x for fetchAll
  5. Other projects
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.
NodeStatisticsDatabaseStorage::fetchAll function core/modules/statistics/src/NodeStatisticsDatabaseStorage.php
StatementInterface::fetchAll function core/lib/Drupal/Core/Database/StatementInterface.php Returns an array containing all of the result set rows.
StatementInterface::fetchAllAssoc function core/lib/Drupal/Core/Database/StatementInterface.php Returns the result set as an associative array keyed by the given field.
StatementInterface::fetchAllKeyed function core/lib/Drupal/Core/Database/StatementInterface.php Returns the entire result set as a single associative array.
StatementPrefetchIterator::fetchAll function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Returns an array containing all of the result set rows.
StatementPrefetchIterator::fetchAllAssoc function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Returns the result set as an associative array keyed by the given field.
StatementPrefetchIterator::fetchAllKeyed function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Returns the entire result set as a single associative array.
StatementTest::testPartiallyIteratedStatementFetchAll function core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests statement fetchAll after a partial traversal.
StatementTest::testPartiallyIteratedStatementFetchAllAssoc function core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests statement fetchAllAssoc after a partial traversal.
StatementTest::testPartiallyIteratedStatementFetchAllKeyed function core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests statement fetchAllKeyed after a partial traversal.
StatementWrapperIterator::fetchAll function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Returns an array containing all of the result set rows.
StatementWrapperIterator::fetchAllAssoc function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Returns the result set as an associative array keyed by the given field.
StatementWrapperIterator::fetchAllKeyed function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Returns the entire result set as a single associative array.
StatisticsStorageInterface::fetchAll function core/modules/statistics/src/StatisticsStorageInterface.php Returns the number of times an entity has been viewed.

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