Mongo
PHP Manual

Mongo::repairDB

(PECL mongo >=0.9.0)

Mongo::repairDBRepairs and compacts a database

Beschreibung

public array Mongo::repairDB ( MongoDB $db [, boolean $preserve_cloned_files= false [, boolean $backup_original_files= false ]] )

Parameter-Liste

db

The database to drop.

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 the database response.


Mongo
PHP Manual