Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<MongoDB\Driver\Cursor::keyMongoDB\Driver\Cursor::rewind>
^MongoDB\Driver\CursorLast updated: Mon, 26 Oct 2026

MongoDB\Driver\Cursor::next

(mongodb >=1.9.0)

MongoDB\Driver\Cursor::next — Advances the cursor to the next result

Description

public function 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


<MongoDB\Driver\Cursor::keyMongoDB\Driver\Cursor::rewind>
^MongoDB\Driver\CursorLast updated: Mon, 26 Oct 2026