Mongolid\Cursor\Cursor::fresh PHP Method

fresh() public method

Refresh the cursor in order to be able to perform a rewind and iterate through it again. A new request to the database will be made in the next iteration.
public fresh ( ) : void
return void
    public function fresh()
    {
        $this->cursor = null;
    }