MongoDB::listCollections
MongoDB::selectCollection
MongoDB
PHP Manual

# MongoDB::repair

(PECL mongo >=0.9.0)

MongoDB::repair — Repairs and compacts this database

### Descripción

public array MongoDB::repair ([ bool `$preserve_cloned_files`= `FALSE` [, bool `$backup_original_files`= `FALSE` ]] )

### Lista de parámetros

`preserve_cloned_files`

  If cloned files should be kept if the repair fails.

`backup_original_files`

  If original files should be backed up.

### Valores retornados

Returns db response.

MongoDB::listCollections
MongoDB::selectCollection
MongoDB
PHP Manual