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