MongoCursor::rewind
Returns the cursor to the beginning of the result set
Beschreibung
public void MongoCursor::rewind
( void
)
<?php
public function rewind() {
$this->reset();
$this->next();
}
?>
Parameter-Liste
Diese Funktion hat keine Parameter.
Fehler/Exceptions
Throws MongoConnectionException if it cannot reach the
database and MongoCursorTimeoutException if the
timeout is exceeded.