PHP - Manual: MongoCommandCursor::current
2024-11-12
(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