MongoCommandCursor::valid
(PECL mongo >=1.5.0)
MongoCommandCursor::valid — Checks if the cursor is reading a valid result.
Descrição
public bool MongoCommandCursor::valid
( void
)
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
- Iterator::valid() - Checks if current position is valid