MongoCursor
PHP Manual

MongoCursor::rewind

(PECL mongo >=0.9.0)

MongoCursor::rewindReturns the cursor to the beginning of the result set

Description

public void MongoCursor::rewind ( void )

Parameters

This function has no parameters.

Return Values

NULL.


MongoCursor
PHP Manual