MongoDB\Driver\Cursor::next
(mongodb >=1.9.0)
MongoDB\Driver\Cursor::next — Advances the cursor to the next result
说明
public MongoDB\Driver\Cursor::next(): void
参数
此函数没有参数。
返回值
Moves the current position to the next element in the cursor.
错误/异常
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.
- Throws MongoDB\Driver\Exception\ConnectionException if connection to the server fails (for reasons other than authentication).
- Throws MongoDB\Driver\Exception\AuthenticationException if authentication is needed and fails.
参见
- Iterator::next() - 向前移动到下一个元素

User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/mongodb-driver-cursor.next.php