MongoCommandCursor::dead

(PECL mongo >=1.5.0)

MongoCommandCursor::deadChecks if there are results that have not yet been sent from the database

说明

public MongoCommandCursor::dead ( void ) : bool

This method checks whether the MongoCommandCursor cursor has been exhausted and the database has no more results to send to the client. A cursor being "dead" does not necessarily mean that there are no more results available for iteration.

参数

此函数没有参数。

返回值

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

参见

相关文章
php domnode checks if the specified namespaceuri is the default namespace or notphp maxdb 函数 check if there any more query results from a multi queryphp oci8 函数 returns the next child statement resource from a parent statement resource that has oracle database 12c implicit result setsphp odbc 函数 checks if multiple results are availablephp sqlite 函数 opens an sqlite database and create the database if it does not existphp sqlite 函数 opens a persistent handle to an sqlite database and create the database if it does not existphp win32service 函数 deletes a service entry from the scm databasephp mongocommandcursor checks if there are results that have not yet been sent from the databasephp mongocommandcursor checks if the cursor is reading a valid resultphp mongocursor checks if there are results that have not yet been sent from the databasephp mongocursor checks if there are any more elements in this cursorphp mongocursor if this query should fetch partial results from mongos if a shard is downphp mongocursorinterface checks if there are results that have not yet been sent from the databasephp mongodb driver cursor checks if the cursor may have additional resultsphp mongogridfs remove a file and its chunks from the databasephp mysqli stmt check if there are more query results from a multiple queryphp mysqlnduhconnection check if there are any more query results from a multi queryphp pharfileinfo returns crc32 code or throws an exception if crc has not been verifiedphp solrquery if true solr includes the number of groups that have matched the query in the resultsphp zookeeper checks if the current zookeeper connection state can be recovered
关注编程学问公众号