function StatementIteratorTrait::markResultsetFetchingComplete

Same name and namespace in other branches
  1. 10 core/lib/Drupal/Core/Database/StatementIteratorTrait.php \Drupal\Core\Database\StatementIteratorTrait::markResultsetFetchingComplete()

Informs the iterator that no more rows can be fetched from the resultset.

5 calls to StatementIteratorTrait::markResultsetFetchingComplete()
StatementPrefetchIterator::fetch in core/lib/Drupal/Core/Database/StatementPrefetchIterator.php
Fetches the next row from a result set.
StatementWrapperIterator::fetch in core/lib/Drupal/Core/Database/StatementWrapperIterator.php
Fetches the next row from a result set.
StatementWrapperIterator::fetchAll in core/lib/Drupal/Core/Database/StatementWrapperIterator.php
Returns an array containing all of the result set rows.
StatementWrapperIterator::fetchField in core/lib/Drupal/Core/Database/StatementWrapperIterator.php
Returns a single field from the next record of a result set.
StatementWrapperIterator::fetchObject in core/lib/Drupal/Core/Database/StatementWrapperIterator.php
Fetches the next row and returns it as an object.

File

core/lib/Drupal/Core/Database/StatementIteratorTrait.php, line 69

Class

StatementIteratorTrait
StatementInterface iterator trait.

Namespace

Drupal\Core\Database

Code

protected function markResultsetFetchingComplete() : void {
    $this->markResultsetIterable(FALSE);
}

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