Search for fetchColumn

  1. Search 7.x for fetchColumn
  2. Search 9.5.x for fetchColumn
  3. Search 8.9.x for fetchColumn
  4. Search 10.3.x for fetchColumn
  5. Other projects
Title Object type File name Summary
FetchLegacyTest::testQueryFetchColumn function core/tests/Drupal/KernelTests/Core/Database/FetchLegacyTest.php Confirms that we can fetch a single column value.
FetchLegacyTest::testQueryFetchColumnOutOfRange function core/tests/Drupal/KernelTests/Core/Database/FetchLegacyTest.php Confirms that an out of range index throws an error.
FetchTest::testLegacyFetchColumn function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms deprecation of StatementPrefetchIterator::fetchColumn().
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.
PdoTrait::clientFetchColumn function core/lib/Drupal/Core/Database/Statement/PdoTrait.php Returns a single column from the next row of a result set.
StatementPrefetchIterator::fetchColumn function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php

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