MongoDB\Driver\Cursor::key
PHP Manual
PHP Manual»MongoDB\Driver\Cursor»MongoDB\Driver\Cursor::key

MongoDB\Driver\Cursor::key

(mongodb >=1.9.0)

MongoDB\Driver\Cursor::keyReturns the current result's index within the cursor

Açıklama

public function MongoDB\Driver\Cursor::key(): int

Bağımsız Değişkenler

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

Dönen Değerler

The current result's numeric index within the cursor.

Ayrıca Bakınız

To Top