db\mssql\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\InvalidParamException

if the table does not exist or there is no sequence associated with the table.

doc_Yii
2016-10-30 16:58:18
Comments
Leave a Comment

Please login to continue.