(PECL mongo >=0.9.0)
はじめに
データベースからのファイル用のカーソルです。
クラス概要
extends MongoCursor {
protected
MongoGridFS
$gridfs
= null
/* メソッド */
public __construct
( MongoGridFS $gridfs
, resource $connection
, string $ns
, array $query
, array $fields
)
public current ( ) : MongoGridFSFile
public getNext ( ) : MongoGridFSFile
public key ( ) : string
}
目次
- MongoGridFSCursor::__construct — 新しいカーソルを作成する
- MongoGridFSCursor::current — 現在のファイルを返す
- MongoGridFSCursor::getNext — カーソルが指す次のファイルを返し、カーソルを進める
- MongoGridFSCursor::key — 現在の結果のファイル名を返す
/* フィールド */