Mongolid\Cursor\Cursor::fresh PHP Méthode

fresh() public méthode

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
Résultat void
    public function fresh()
    {
        $this->cursor = null;
    }