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::testLegacyFetchColumn function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms deprecation of StatementPrefetchIterator::fetchColumn().
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.
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.