PHP - Manual: MongoCommandCursor::current
2025-10-24
(PECL mongo >=1.5.0)
MongoCommandCursor::current — Returns the current element
This returns NULL until MongoCommandCursor::rewind() is called.
此函数没有参数。
The current result document as an associative array. NULL will be returned
if there is no result.
官方地址:https://www.php.net/manual/en/mongocommandcursor.current.php