MongoCursor
PHP Manual

MongoCursor::valid

(PECL mongo >=0.9.0)

MongoCursor::validChecks if the cursor is reading a valid result.

Beschreibung

public bool MongoCursor::valid ( void )

Parameter-Liste

Diese Funktion hat keine Parameter.

Rückgabewerte

If the current result is not null.


MongoCursor
PHP Manual