StatementBase::$fetchOptions

Holds fetch options.

Type: array{'class': class-string, 'constructor_args': list, 'column': int}

File

core/lib/Drupal/Core/Database/Statement/StatementBase.php, line 62

Class

StatementBase
StatementInterface base implementation.

Namespace

Drupal\Core\Database\Statement

Code

protected array $fetchOptions = [
    'class' => 'stdClass',
    'constructor_args' => [],
    'column' => 0,
];

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