Php/docs/mongodb-driver-cursor.rewind

提供:Dev Guides
< Php
移動先:案内検索

MongoDB\Driver\Cursor::rewind

(mongodb >=1.9.0)

MongoDB\Driver\Cursor::rewindRewind the cursor to the first result


説明

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

If the cursor has advanced beyond its first position, it can no longer be rewound.


パラメータ

この関数にはパラメータはありません。


返り値

null.


エラー / 例外


参考