Search for fetchCol

  1. Search 7.x for fetchCol
  2. Search 8.9.x for fetchCol
  3. Search 10.3.x for fetchCol
  4. Search 11.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.
Statement::fetchCol function core/lib/Drupal/Core/Database/Statement.php Returns an entire single column of a result set as an indexed array.
StatementEmpty::fetchCol function core/lib/Drupal/Core/Database/StatementEmpty.php Returns an entire single column of a result set as an indexed array.
StatementInterface::fetchCol function core/lib/Drupal/Core/Database/StatementInterface.php Returns an entire single column of a result set as an indexed array.
StatementPrefetch::fetchCol function core/lib/Drupal/Core/Database/StatementPrefetch.php Returns an entire single column of a result set as an indexed array.
StatementPrefetch::fetchColumn function core/lib/Drupal/Core/Database/StatementPrefetch.php
StatementWrapper::fetchCol function core/lib/Drupal/Core/Database/StatementWrapper.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.