function StatementPrefetchIterator::fetchColumn
Same name in other branches
- 10 core/lib/Drupal/Core/Database/StatementPrefetchIterator.php \Drupal\Core\Database\StatementPrefetchIterator::fetchColumn()
Deprecated
in drupal:11.2.0 and is removed from drupal:12.0.0. Use ::fetchField() instead.
See also
https://www.drupal.org/node/3490312
File
-
core/
lib/ Drupal/ Core/ Database/ StatementPrefetchIterator.php, line 264
Class
- StatementPrefetchIterator
- An implementation of StatementInterface that prefetches all data.
Namespace
Drupal\Core\DatabaseCode
public function fetchColumn($index = 0) {
@trigger_error(__METHOD__ . '() is deprecated in drupal:11.2.0 and is removed from drupal:12.0.0. Use ::fetchField() instead. See https://www.drupal.org/node/3490312', E_USER_DEPRECATED);
return $this->fetchField($index);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.