def save(self):
        """Saves the results to the database."""
        # Only cache if the results are already cached
        cache = self.backend.has_cached_run_results(self.samples, self.key)

        self.backend.save_run_results(
            self.samples,
            self.key,
            self,
            overwrite=True,
            cache=cache,
        )
Saves the results to the database.
fiftyone/core/runs.py