mongo_gridfs_store
(PECL mongo >= 0.8.0)
mongo_gridfs_store — Store a file in the database
Описание
MongoId mongo_gridfs_store
( resource $gridfs
, string $filename
)
Список параметров
-
gridfs
-
The gridfs connection to use.
-
filename
-
Name of the file to store.
Возвращаемые значения
The MongoId given to the file saved to the database.