MongoDB\Driver\Cursor::next
PHP function
Edit on GitHub ✎
(mongodb >=1.9.0)
Advances the cursor to the next result
Description
MongoDB\Driver\Cursor::next(): void
Parameters Parameters
Return Values
Moves the current position to the next element in the cursor.
Errors/Exceptions
See Also
Iterator::next