PHP - Manual: MongoCommandCursor::valid
2024-11-13
(PECL mongo >=1.5.0)
MongoCommandCursor::valid — Checks if the cursor is reading a valid result
此函数没有参数。
TRUE
if the current result is not null, and FALSE
otherwise.
官方地址:https://www.php.net/manual/en/mongocommandcursor.valid.php