checkIntegrity() public method
Builds a SQL command for enabling or disabling integrity check.
| public $this checkIntegrity ( $check = true, $schema = '', $table = '' ) | ||
|---|---|---|
| $check | boolean |
Whether to turn on or off the integrity check. |
| $schema | string |
The schema name of the tables. Defaults to empty string, meaning the current or default schema. |
| $table | string |
The table name. |
| return | $this |
The command object itself |
| throws | yii\base\NotSupportedException |
if this is not supported by the underlying DBMS |
Please login to continue.