FetchModeTrait::$supportedFetchModes
Same name in other branches
- 10 core/lib/Drupal/Core/Database/FetchModeTrait.php \Drupal\Core\Database\FetchModeTrait::supportedFetchModes
The fetch modes supported.
Type: supportedFetchModes
File
-
core/
lib/ Drupal/ Core/ Database/ FetchModeTrait.php, line 36
Class
- FetchModeTrait
- Provide helper methods for statement fetching.
Namespace
Drupal\Core\DatabaseCode
protected array $supportedFetchModes = [
\PDO::FETCH_ASSOC,
\PDO::FETCH_CLASS,
\PDO::FETCH_CLASS | \PDO::FETCH_PROPS_LATE,
\PDO::FETCH_COLUMN,
\PDO::FETCH_NUM,
\PDO::FETCH_OBJ,
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.