Php/docs/mongodb-driver-cursor.next

From Get docs

MongoDB\Driver\Cursor::next

(mongodb >=1.9.0)

MongoDB\Driver\Cursor::nextAdvances the cursor to the next result


Description

public MongoDB\Driver\Cursor::next ( ) : void

Parameters

This function has no parameters.


Return Values

Moves the current position to the next element in the cursor.


Errors/Exceptions


See Also