public function truncateTable($table)
    {
        $cmdPromise = $this->createCommand()->truncateTable($table)->execute();
        return $this->execPromise($cmdPromise, "truncate table $table");
    }