Mongo
PHP Manual

MongoGridFS クラス

導入

データベースにファイルを格納したり、データベースからファイルを取得したりするためのユーティリティです。

クラス概要

MongoGridFS
extends MongoCollection {
/* メソッド */
__construct ( MongoDB $db [, string $files= NULL [, string $chunks= NULL ]] )
public array drop ( void )
public MongoGridFSCursor find ([ array $query= array() [, array $fields= array() ]] )
public MongoGridFSFile findOne ([ mixed $query= array() ] )
public boolean remove ([ array $criteria= array() [, boolean $just_one= FALSE ]] )
public mixed storeBytes ( string $bytes [, array $extra= array() ] )
public mixed storeFile ( string $filename [, array $extra= array() ] )
public mixed storeUpload ( string $name [, string $filename ] )
}

目次


Mongo
PHP Manual