MongoDB\Driver\Cursor::key

(mongodb >=1.9.0)

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

Descripción

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

Parámetros

Esta función no tiene parámetros.

Valores devueltos

The current result's numeric index within the cursor.

Ver también