MongoCursor
在线手册:中文 英文
PHP手册

MongoCursor::valid

(PECL mongo >=0.9.0)

MongoCursor::validChecks if the cursor is reading a valid result.

说明

public bool MongoCursor::valid ( void )

参数

此函数没有参数。

返回值

If the current result is not null.


MongoCursor
在线手册:中文 英文
PHP手册