db\QueryBuilder checkIntegrity()

checkIntegrity() public method

Builds a SQL statement for enabling or disabling integrity check.

public string checkIntegrity ( $check = true, $schema = '', $table = '' )
$check boolean

Whether to turn on or off the integrity check.

$schema string

The schema of the tables. Defaults to empty string, meaning the current or default schema.

$table string

The table name. Defaults to empty string, meaning that no table will be changed.

return string

The SQL statement for checking integrity

throws yii\base\NotSupportedException

if this is not supported by the underlying DBMS

doc_Yii
2016-10-30 16:59:17
Comments
Leave a Comment

Please login to continue.