MongoDB\Driver\Cursor::next
(mongodb >=1.9.0)
MongoDB\Driver\Cursor::next — Advances the cursor to the next result
説明
public MongoDB\Driver\Cursor::next ( ) : void
パラメータ
この関数にはパラメータはありません。
返り値
Moves the current position to the next element in the cursor.
エラー / 例外
- 引数のパースに失敗した場合に MongoDB\Driver\Exception\InvalidArgumentException をスローします。
- サーバーへの接続が認証以外の理由で失敗した場合に MongoDB\Driver\Exception\ConnectionException をスローします。
- 認証が必要な場面で認証に失敗した場合に MongoDB\Driver\Exception\AuthenticationException をスローします。