public function truncateTable(string $table): bool
    {
        $sql = 'TRUNCATE TABLE ' . $table;
        if ($this->configurator->getEngine() === 'sqlite') {
            $sql = 'DELETE FROM ' . $table;
        }

        return $this->exec($sql);
    }
public function truncateTable(string $table): bool
    {
        $sql = 'TRUNCATE TABLE ' . $table;
        if ($this->configurator->getEngine() === 'sqlite') {
            $sql = 'DELETE FROM ' . $table;
        }

        return $this->exec($sql);
    }
@param string $table

@throws DatabaseException

@return bool