array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'mongodb-driver-cursorinterface.isdead.php', 1 => 'MongoDB\\Driver\\CursorInterface::isDead', 2 => 'Checks if the cursor may have additional results', ), 'up' => array ( 0 => 'class.mongodb-driver-cursorinterface.php', 1 => 'MongoDB\\Driver\\CursorInterface', ), 'prev' => array ( 0 => 'mongodb-driver-cursorinterface.getserver.php', 1 => 'MongoDB\\Driver\\CursorInterface::getServer', ), 'next' => array ( 0 => 'mongodb-driver-cursorinterface.settypemap.php', 1 => 'MongoDB\\Driver\\CursorInterface::setTypeMap', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/mongodb/driver/cursorinterface/isdead.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

MongoDB\Driver\CursorInterface::isDead

(mongodb >=1.6.0)

MongoDB\Driver\CursorInterface::isDeadChecks if the cursor may have additional results

Опис

abstract public MongoDB\Driver\CursorInterface::isDead(): bool

Checks whether the cursor may have additional results available to read. A cursor is initially "alive" but may become "dead" for any of the following reasons:

This is primarily useful with tailable cursors.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Returns true if additional results are not available, and false otherwise.

Помилки/виключення

Прогляньте також