Php/docs/mongodb-driver-cursor.key

提供:Dev Guides
< Php
2020年12月14日 (月) 11:24時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

MongoDB\Driver\Cursor::key

(mongodb >=1.9.0)

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


説明

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

パラメータ

この関数にはパラメータはありません。


返り値

The current result's numeric index within the cursor.


参考