MongoCommandCursor
PHP Manual

MongoCommandCursor::dead

(No version information available, might only be in Git)

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

Description

public bool MongoCommandCursor::dead ( void )

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

Parameters

This function has no parameters.

Return Values

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


MongoCommandCursor
PHP Manual