mongo_gridfs_list
mongo_has_next
Mongo Функции
PHP Manual

# 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` )

Store a file in the database.

### Список параметров

`gridfs`

  The gridfs connection to use.

`filename`

  Name of the file to store.

### Возвращаемые значения

The MongoId given to the file saved to the database.

### Смотрите также

- mongo_gridfs_init() - Creates a new gridfs connection
- mongo_gridfs_find() - Find a file in the database
- mongo_gridfs_list() - Query for files in the grid collection

mongo_gridfs_list
mongo_has_next
Mongo Функции
PHP Manual