Mongo
PHP Manual

Mongo::repairDB

(PECL mongo >=0.9.0)

Mongo::repairDBRepairs and compacts a database

Описание

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

Параметри

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.

Връщани стойности

Returns the database response.


Mongo
PHP Manual