function ResultBase::__construct
Constructor.
Parameters
\Drupal\Core\Database\Statement\FetchAs $fetchMode: The fetch mode.
array{class: class-string, constructor_args: list<mixed>, column: int, cursor_orientation?: int, cursor_offset?: int} $fetchOptions: The fetch options.
2 calls to ResultBase::__construct()
- PdoResult::__construct in core/
lib/ Drupal/ Core/ Database/ Statement/ PdoResult.php - Constructor.
- PrefetchedResult::__construct in core/
lib/ Drupal/ Core/ Database/ Statement/ PrefetchedResult.php - Constructor.
2 methods override ResultBase::__construct()
- PdoResult::__construct in core/
lib/ Drupal/ Core/ Database/ Statement/ PdoResult.php - Constructor.
- PrefetchedResult::__construct in core/
lib/ Drupal/ Core/ Database/ Statement/ PrefetchedResult.php - Constructor.
File
-
core/
lib/ Drupal/ Core/ Database/ Statement/ ResultBase.php, line 24
Class
- ResultBase
- Base class for results of a data query language (DQL) statement.
Namespace
Drupal\Core\Database\StatementCode
public function __construct(FetchAs $fetchMode, array $fetchOptions) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.