Search for fetchCol

  1. Search 7.x for fetchCol
  2. Search 9.5.x for fetchCol
  3. Search 8.9.x for fetchCol
  4. Search 10.3.x for fetchCol
  5. Other projects
Title Object type File name Summary
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.
StatementInterface::fetchCol function core/lib/Drupal/Core/Database/StatementInterface.php Returns an entire single column of a result set as an indexed array.
StatementPrefetchIterator::fetchCol function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Returns an entire single column of a result set as an indexed array.
StatementPrefetchIterator::fetchColumn function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php
StatementTest::testPartiallyIteratedStatementFetchCol function core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests statement fetchCol after a partial traversal.
StatementWrapperIterator::fetchCol function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Returns an entire single column of a result set as an indexed array.

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