MongoCommandCursor
PHP Manual

MongoCommandCursor::valid

(PECL mongo >=1.5.0)

MongoCommandCursor::validFetches a new result item, and returns whether it could

説明

public bool MongoCommandCursor::valid ( void )

パラメータ

この関数にはパラメータはありません。

返り値

TRUE if a next item could be returned, and FALSE otherwise.


MongoCommandCursor
PHP Manual