downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

MongoCursor::skip> <MongoCursor::reset
[edit] Last updated: Fri, 25 May 2012

view this page in

MongoCursor::rewind

(PECL mongo >=0.9.0)

MongoCursor::rewindカーソルを結果セットの先頭に戻す

説明

public void MongoCursor::rewind ( void )

これは、次の関数と同等です。

<?php

public function rewind() {
    
$this->reset();
    
$this->next();
}

?>

パラメータ

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

返り値

NULL を返します。

エラー / 例外

データベースに接続できない場合に MongoConnectionException、 そしてタイムアウトに達した場合に MongoCursorTimeoutException をスローします。



add a note add a note User Contributed Notes MongoCursor::rewind
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites