PHP - Manual: MongoCommandCursor::key
2024-11-13
(PECL mongo >=1.5.0)
MongoCommandCursor::key — Returns the current result's index within the result set
此函数没有参数。
The current result's index within the result set.
官方地址:https://www.php.net/manual/en/mongocommandcursor.key.php