MongoDB::repair
(PECL mongo >=0.9.0)
MongoDB::repair — Repairs and compacts this database
Beschreibung
public array MongoDB::repair
([ bool $preserve_cloned_files= FALSE
[, bool $backup_original_files= FALSE
]] )
Parameter-Liste
-
preserve_cloned_files
-
If cloned files should be kept if the repair fails.
-
backup_original_files
-
If original files should be backed up.
Rückgabewerte
Returns db response.