Php/docs/mongodb-driver-cursor.rewind

来自菜鸟教程
跳转至:导航、​搜索

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.


错误/异常


参见