function SqlBase::rewind
Same name in other branches
- 9 core/modules/migrate/src/Plugin/migrate/source/SqlBase.php \Drupal\migrate\Plugin\migrate\source\SqlBase::rewind()
- 10 core/modules/migrate/src/Plugin/migrate/source/SqlBase.php \Drupal\migrate\Plugin\migrate\source\SqlBase::rewind()
Overrides SourcePluginBase::rewind
File
-
core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SqlBase.php, line 378
Class
- SqlBase
- Sources whose data may be fetched via a database connection.
Namespace
Drupal\migrate\Plugin\migrate\sourceCode
public function rewind() : void {
$this->batch = 0;
// Database queries have to be run again as they cannot be rewound.
unset($this->iterator);
parent::rewind();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.