Php/docs/mongocommandcursor.key

来自菜鸟教程
跳转至:导航、​搜索

MongoCommandCursor::key

(PECL mongo >=1.5.0)

MongoCommandCursor::keyReturns the current result's index within the result set


说明

public MongoCommandCursor::key ( ) : int

参数

此函数没有参数。


返回值

The current result's index within the result set.


参见