PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

MongoGridFS::get

(PECL mongo >=1.0.8)

MongoGridFS::getRetrieve a file from the database

说明

public MongoGridFS::get ( mixed $id ) : MongoGridFSFile

参数

id

_id of the file to find.

返回值

Returns the file, if found, or NULL.