|
MongoGridFS::storeFile(PECL mongo >=0.9.0) MongoGridFS::storeFile — Stores a file in the database Описание
public mixed MongoGridFS::storeFile
( string $filename
[, array $extra = array()
[, array $options = array()
]] )
Список параметров
Возвращаемые значенияReturns the _id of the saved object. ОшибкиThrows MongoCursorException if the "safe" option is set and the insert fails. |
|