PHP - Manual: MongoGridfsFile::__construct
2024-11-14
(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.
官方地址:https://www.php.net/manual/en/mongogridfsfile.construct.php