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.

6 calls to StatementIteratorTrait::markResultsetFetchingComplete()
StatementBase::fetch in core/lib/Drupal/Core/Database/Statement/StatementBase.php
Fetches the next row from a result set.
StatementBase::fetchAll in core/lib/Drupal/Core/Database/Statement/StatementBase.php
Returns an array containing all of the result set rows.
StatementBase::fetchAllAssoc in core/lib/Drupal/Core/Database/Statement/StatementBase.php
Returns the result set as an associative array keyed by the given field.
StatementBase::fetchAllKeyed in core/lib/Drupal/Core/Database/Statement/StatementBase.php
Returns the entire result set as a single associative array.
StatementBase::fetchField in core/lib/Drupal/Core/Database/Statement/StatementBase.php
Returns a single field from the next record of a result set.

... See full list

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.