array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'mongodb-driver-cursor.valid.php', 1 => 'MongoDB\\Driver\\Cursor::valid', 2 => 'Checks if the current position in the cursor is valid', ), 'up' => array ( 0 => 'class.mongodb-driver-cursor.php', 1 => 'MongoDB\\Driver\\Cursor', ), 'prev' => array ( 0 => 'mongodb-driver-cursor.toarray.php', 1 => 'MongoDB\\Driver\\Cursor::toArray', ), 'next' => array ( 0 => 'class.mongodb-driver-cursorid.php', 1 => 'MongoDB\\Driver\\CursorId', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/mongodb/driver/cursor/valid.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

MongoDB\Driver\Cursor::valid

(mongodb >=1.9.0)

MongoDB\Driver\Cursor::validChecks if the current position in the cursor is valid

Açıklama

public MongoDB\Driver\Cursor::valid(): bool

Bağımsız Değişkenler

Bu işlevin bağımsız değişkeni yoktur.

Dönen Değerler

true if the current cursor position is valid, false otherwise.

Ayrıca Bakınız