Php/docs/mongogridfs.get
来自菜鸟教程
MongoGridFS::get
(PECL mongo >=1.0.8)
MongoGridFS::get — Retrieve 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
.