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