MongoCommandCursor::key
(PECL mongo >=1.5.0)
MongoCommandCursor::key — Returns the current result's index within the result set
説明
public MongoCommandCursor::key
( void
) : int
パラメータ
この関数にはパラメータはありません。
返り値
The current result's index within the result set.
参考
- Iterator::key() - 現在の要素のキーを返す