PHP Doku:: Returns the cursor to the beginning of the result set - mongocursor.rewind.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzDatenbankerweiterungenAnbieterspezifische DatenbankerweiterungenMongoDB Native DriverCore ClassesThe MongoCursor classMongoCursor::rewind

Ein Service von Reinhard Neidl - Webprogrammierung.

The MongoCursor class

<<MongoCursor::reset

MongoCursor::skip>>

MongoCursor::rewind

(PECL mongo >=0.9.0)

MongoCursor::rewindReturns the cursor to the beginning of the result set

Beschreibung

public void MongoCursor::rewind ( void )

This is identical to the function:

<?php

public function rewind() {
    
$this->reset();
    
$this->next();
}

?>

Parameter-Liste

Diese Funktion hat keine Parameter.

Rückgabewerte

NULL.

Fehler/Exceptions

Throws MongoConnectionException if it cannot reach the database and MongoCursorTimeoutException if the timeout is exceeded.


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)