MongoDB\Driver\Cursor
PHP Manual

MongoDB\Driver\Cursor::isDead

(mongodb >=0.2.0)

MongoDB\Driver\Cursor::isDeadChecks if a cursor is still alive

Beschreibung

final public bool MongoDB\Driver\Cursor::isDead ( void )

Parameter-Liste

Diese Funktion hat keine Parameter.

Rückgabewerte

Fehler/Exceptions

Beispiele

Beispiel #1 MongoDB\Driver\Cursor::isDead() example

<?php

/* ... */

?>

Das oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:

...

Siehe auch


MongoDB\Driver\Cursor
PHP Manual