« MongoDB\Driver\Cursor::next
MongoDB\Driver\Cursor::setTypeMap »

MongoDB\Driver\Cursor::rewind

(mongodb >=1.9.0)

MongoDB\Driver\Cursor::rewind — Rewind the cursor to the first result

説明

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

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

パラメータ

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

戻り値

null.

エラー / 例外

参考

関連キーワード:
MongoDB   Driver   Cursor   cursor   first   rewind   Throws   Exception   Rewind   advanced   beyond   position   fails   authentication   next   setTypeMap   mongodb   longer   rewound   InvalidArgumentException   argument   parsing   errors   ConnectionException   connection
関連する関数・ページ:
mongodb-driver-cursor.next   mongodb-driver-cursor.settypemap   mongodb-driver-cursor.key   mongodb-driver-cursor.getserver   mongodb-driver-cursor.toarray   mongodb-driver-cursor.getid