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 node has attributesphp domnode checks if the specified namespaceuri is the default namespace or notphp enchant 函数 will return a list of values if any of those pre conditions are not metphp 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 mongocollection creates an index on the specified field s if it does not already existphp 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 reflectionparameter checks if parameter expects an arrayphp solrquery if true solr includes the number of groups that have matched the query in the results
关注编程学问公众号