MongoDB::getDBRef
MongoDB::getProfilingLevel
MongoDB
PHP Manual

# MongoDB::getGridFS

(PECL mongo >=0.9.0)

MongoDB::getGridFS — Fetches toolkit for dealing with files stored in this database

### Descripción

public MongoGridFS MongoDB::getGridFS ([ string `$arg1`= "fs" [, string `$arg2`= `NULL` ]] )

### Lista de parámetros

`arg1`

  If the only argument, the prefix for the files and chunks collections. Otherwise, the name of the files collection.

`arg2`

  Name of the chunks collection.

### Valores retornados

Returns a new gridfs object for this database.

MongoDB::getDBRef
MongoDB::getProfilingLevel
MongoDB
PHP Manual