MongoCommandCursor::valid

(PECL mongo >=1.5.0)

MongoCommandCursor::validChecks if the cursor is reading a valid result

Descrição

public MongoCommandCursor::valid ( ) : bool

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

true if the current result is not null, and false otherwise.

Veja Também