Search for fetchAll

  1. Search 7.x for fetchAll
  2. Search 9.5.x for fetchAll
  3. Search 10.3.x for fetchAll
  4. Search 11.x for fetchAll
  5. Other projects
Title Object type File name Summary
EmptyStatementTest::testEmptyFetchAll function core/tests/Drupal/Tests/Core/Database/EmptyStatementTest.php Tests that the empty result set mass-fetches in an expected way.
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 Returns the number of times a entity has been viewed.
Statement::fetchAll function core/lib/Drupal/Core/Database/Statement.php Returns an array containing all of the result set rows.
Statement::fetchAllAssoc function core/lib/Drupal/Core/Database/Statement.php Returns the result set as an associative array keyed by the given field.
Statement::fetchAllKeyed function core/lib/Drupal/Core/Database/Statement.php Returns the entire result set as a single associative array.
StatementEmpty::fetchAll function core/lib/Drupal/Core/Database/StatementEmpty.php Returns an array containing all of the result set rows.
StatementEmpty::fetchAllAssoc function core/lib/Drupal/Core/Database/StatementEmpty.php Returns the result set as an associative array keyed by the given field.
StatementEmpty::fetchAllKeyed function core/lib/Drupal/Core/Database/StatementEmpty.php Returns the entire result set as a single associative array.
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.
StatementPrefetch::fetchAll function core/lib/Drupal/Core/Database/StatementPrefetch.php Returns an array containing all of the result set rows.
StatementPrefetch::fetchAllAssoc function core/lib/Drupal/Core/Database/StatementPrefetch.php Returns the result set as an associative array keyed by the given field.
StatementPrefetch::fetchAllKeyed function core/lib/Drupal/Core/Database/StatementPrefetch.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 a entity has been viewed.

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