MongoDB\Driver\Cursor::rewind
(mongodb >=1.9.0)
MongoDB\Driver\Cursor::rewind — Rewind the cursor to the first result
説明
If the cursor has advanced beyond its first position, it can no longer be rewound.
パラメータ
この関数にはパラメータはありません。
戻り値
null
.
エラー / 例外
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.
- Throws MongoDB\Driver\Exception\ConnectionException if connection to the server fails (for reasons other than authentication).
- Throws MongoDB\Driver\Exception\AuthenticationException if authentication is needed and fails.
- Throws MongoDB\Driver\Exception\LogicException if this method is called after the cursor has advanced beyond its first position.
参考
- Iterator::rewind() - イテレータの最初の要素に巻き戻す
+add a note
User Contributed Notes
There are no user contributed notes for this page.
↑ and ↓ to navigate •
Enter to select •
Esc to close
Press Enter without
selection to search using Google