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

MongoCursorInterface::info

(PECL mongo >=1.5.0)

MongoCursorInterface::infoGets information about the cursor's creation and iteration

说明

abstract public MongoCursorInterface::info ( void ) : array

Returns information about the cursor's creation and iteration. This can be called before or after the cursor has started iterating.

参数

此函数没有参数。

返回值

Returns the namespace, batch size, limit, skip, flags, query, and projected fields for this cursor. If the cursor has started iterating, additional information about iteration and the connection will be included.