PHP 8.5.0 Alpha 2 available for testing

MongoDB\Driver\Cursor::key

(mongodb >=1.9.0)

MongoDB\Driver\Cursor::keyDevuelve el número del índice del resultado actual en el cursor

Descripción

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

Parámetros

Esta función no contiene ningún parámetro.

Valores devueltos

Devuelve el índice numérico del resultado actual en el cursor.

Ver también

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top