PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

The MongoCursorInterface interface | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

The MongoCursorInterface interface

(PECL mongo >=1.5.0)

はじめに

Interface for cursors, which can be used to iterate through results of a database query or command. This interface is implemented by the MongoCursor and MongoCommandCursor classes.

注意: Similar to Traversable, this interface cannot be implemented in PHP scripts.

クラス概要

MongoCursorInterface extends Iterator {
/* メソッド */
abstract public MongoCursorInterface batchSize ( int $batchSize )
abstract public bool dead ( void )
abstract public array getReadPreference ( void )
abstract public array info ( void )
abstract public MongoCursorInterface setReadPreference ( string $read_preference [, array $tags ] )
abstract public MongoCursorInterface timeout ( int $ms )
/* 継承したメソッド */
abstract public mixed Iterator::current ( void )
abstract public scalar Iterator::key ( void )
abstract public void Iterator::next ( void )
abstract public void Iterator::rewind ( void )
abstract public boolean Iterator::valid ( void )
}

目次


忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「The MongoCursorInterface interface」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | The MongoCursorInterface interface」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: