MongoCommandCursor::valid
(PECL mongo >=1.5.0)
MongoCommandCursor::valid — Checks if the cursor is reading a valid result
説明
public MongoCommandCursor::valid
( void
) : bool
パラメータ
この関数にはパラメータはありません。
返り値
TRUE if the current result is not null, and FALSE otherwise.
参考
- Iterator::valid() - 現在位置が有効かどうかを調べる