code: public function truncateTables(array $tables): bool
      {
          $success = true;
  
          foreach ($tables as $table) {
              if ($this->truncateTable($table) === false) {
                  $success = false;
              }
          }
  
          return $success;
      }
docs: @param array $tables
  
  @throws DatabaseException
  
  @return bool