Php/docs/mongocommandcursor.key
来自菜鸟教程
MongoCommandCursor::key
(PECL mongo >=1.5.0)
MongoCommandCursor::key — Returns the current result's index within the result set
说明
public MongoCommandCursor::key ( ) : int
参数
此函数没有参数。
返回值
The current result's index within the result set.