PHP - Manual: MongoDB\Driver\Cursor::valid
2024-11-13
(mongodb >=1.9.0)
MongoDB\Driver\Cursor::valid — Checks if the current position in the cursor is valid
此函数没有参数。
true
if the current cursor position is valid, false
otherwise.
官方地址:https://www.php.net/manual/en/mongodb-driver-cursor.valid.php