function StatementIteratorTrait::markResultsetFetchingComplete

Same name 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
StatementWrapperIterator::fetch in core/lib/Drupal/Core/Database/StatementWrapperIterator.php
StatementWrapperIterator::fetchAll in core/lib/Drupal/Core/Database/StatementWrapperIterator.php
StatementWrapperIterator::fetchField in core/lib/Drupal/Core/Database/StatementWrapperIterator.php
StatementWrapperIterator::fetchObject in core/lib/Drupal/Core/Database/StatementWrapperIterator.php

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.