StatementPrefetchIterator::$columnNames

Same name and namespace in other branches
  1. 10 core/lib/Drupal/Core/Database/StatementPrefetchIterator.php \Drupal\Core\Database\StatementPrefetchIterator::columnNames

The list of column names in this result set.

Type: string[]

Deprecated

in drupal:11.2.0 and is removed from drupal:12.0.0. Use the methods provided by Drupal\Core\Database\Statement\PrefetchedResult instead.

See also

https://www.drupal.org/node/3510455

File

core/lib/Drupal/Core/Database/StatementPrefetchIterator.php, line 42

Class

StatementPrefetchIterator
An implementation of StatementInterface that prefetches all data.

Namespace

Drupal\Core\Database

Code

protected ?array $columnNames = NULL;

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