PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

MongoCommandCursor::key

(PECL mongo >=1.5.0)

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

说明

public MongoCommandCursor::key ( void ) : int

参数

此函数没有参数。

返回值

The current result's index within the result set.

参见