MongoCommandCursor
PHP Manual

MongoCommandCursor::dead

(PECL mongo >=1.5.0)

MongoCommandCursor::deadChecks if there are documents that have not been sent yet from the database for this cursor

説明

public bool MongoCommandCursor::dead ( void )

This method checks whether the MongoCommandCursor cursor has been exhausted and hence can not return more results.

パラメータ

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

返り値

Returns if there are more results that have not been sent to the client, yet.


MongoCommandCursor
PHP Manual