PHP - Manual: MongoCursorInterface::info
2024-12-23
(PECL mongo >=1.5.0)
MongoCursorInterface::info — Gets information about the cursor's creation and iteration
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.
官方地址:https://www.php.net/manual/en/mongocursorinterface.info.php