MongoGridfsFile::__construct
(PECL mongo >=0.9.0)
MongoGridfsFile::__construct — Create a new GridFS file
说明
参数
-
gridfs
-
The parent MongoGridFS instance.
-
file
-
A file from the database.
返回值
Returns a new MongoGridFSFile.