MongoCommandCursor::valid
(PECL mongo >=1.5.0)
MongoCommandCursor::valid — Checks if the cursor is reading a valid result.
Beschreibung
public bool MongoCommandCursor::valid
( void
)
Parameter-Liste
Diese Funktion hat keine Parameter.
Rückgabewerte
TRUE if the current result is not null, and FALSE otherwise.
Siehe auch
- Iterator::valid() - Prüft, ob die aktuelle Position zulässig ist