framework/db/Command.php
public function checkIntegrity($check = true, $schema = '', $table = '')
    {
        $sql = $this->db->getQueryBuilder()->checkIntegrity($check, $schema, $table);

        return $this->setSql($sql);
    }
public function checkIntegrity($check = true, $schema = '', $table = '')
    {
        $sql = $this->db->getQueryBuilder()->checkIntegrity($check, $schema, $table);

        return $this->setSql($sql);
    }
public function checkIntegrity ( $ check = true , $ schema = '' , $ table = '' ) { $ sql = $ this -> db -> getQueryBuilder ( ) -> checkIntegrity ( $ check , $ schema , $ table ) ; return $ this -> setSql ( $ sql ) ; }
Builds a SQL command for enabling or disabling integrity check.
@param bool $check whether to turn on or off the integrity check.
@param string $schema the schema name of the tables. Defaults to empty string, meaning the current
or default schema.
@param string $table the table name.
@return $this the command object itself
@throws NotSupportedException if this is not supported by the underlying DBMS
Builds a SQL command for enabling or disabling integrity check .