public function Scheme::setRecoveryModel in Drupal driver for SQL Server and SQL Azure 8.2
Change the database recovery model.
Parameters
RecoveryModel $model: The model to update to.
File
- drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Scheme.php, line 731
Class
Namespace
Drupal\Driver\Database\sqlsrvCode
public function setRecoveryModel(RecoveryModel $model) {
$this->cnn
->query("ALTER {$this->cnn->options['name']} model SET RECOVERY {$model->__toString()}");
}