MongoCursorInterface::dead

(PECL mongo >=1.5.0)

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

说明

abstract public MongoCursorInterface::dead ( void ) : bool

This method checks whether the 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 imap 函数 returns all imap alert messages that have occurredphp 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 imagick checks if the object has a previous imagephp mongocommandcursor checks if there are results that have not yet been sent from the databasephp 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 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 swftext returns the descent of the current font at its current size or 0 if not availablephp tidynode checks if a node represents a comment
关注编程学问公众号