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.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

null.

錯(cuò)誤/異常

參見