PHP 7.1.21 Released

MongoCommandCursor::valid

(PECL mongo >=1.5.0)

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

说明

public bool MongoCommandCursor::valid ( void )

参数

此函数没有参数。

返回值

TRUE if the current result is not null, and FALSE otherwise.

参见

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top