StatementPrefetchIterator::$defaultFetchStyle
Same name and namespace in other branches
- 10 core/lib/Drupal/Core/Database/StatementPrefetchIterator.php \Drupal\Core\Database\StatementPrefetchIterator::defaultFetchStyle
Holds the default fetch style.
Type: defaultFetchStyle
Deprecated
in drupal:11.2.0 and is removed from drupal:12.0.0. Use $fetchMode instead.
See also
https://www.drupal.org/node/3488338
File
-
core/
lib/ Drupal/ Core/ Database/ StatementPrefetchIterator.php, line 63
Class
- StatementPrefetchIterator
- An implementation of StatementInterface that prefetches all data.
Namespace
Drupal\Core\DatabaseCode
protected int $defaultFetchStyle = \PDO::FETCH_OBJ;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.