Mongo 関数
PHP Manual

mongo_gridfs_store

(PECL mongo >= 0.8.0)

mongo_gridfs_storeStore a file in the database

説明

MongoId mongo_gridfs_store ( resource $gridfs , string $filename )

Store a file in the database.

パラメータ

gridfs

The gridfs connection to use.

filename

Name of the file to store.

返り値

The MongoId given to the file saved to the database.

参考


Mongo 関数
PHP Manual