docs: def sync2(queryset, model_objs, unique_fields, update_fields=None, returning=False, ignore_duplicate_updates=True):
      """
      Performs a sync operation on a queryset, making the contents of the
      queryset match the contents of model_objs.
  
      Note: The definition of a sync requires that we return untouched rows from the upsert opertion. There is
      no way to turn off returning untouched rows in a sync.
  
      Args:
          queryset (Model|QuerySet): A model or a queryset that defines the collection to sync
          model_objs (List[Model]): A list of Django models to sync. All models in this list
              will be bulk upserted and any models not in the table (or queryset) will be deleted
              if sync=True.
          unique_fields (List[str]): A list of fields that define the uniqueness of the model. The
              model must have a unique constraint on these fields
          update_fields (List[str], default=None): A list of fields to update whenever objects
              already exist. If an empty list is provided, it is equivalent to doing a bulk
              insert on the objects that don't exist. If `None`, all fields will be updated.
          returning (bool|List[str]): If True, returns all fields. If a list, only returns
              fields in the list. Return values are split in a tuple of created, updated, and
              deleted models.
          ignore_duplicate_updates (bool, default=False): Ignore updating a row in the upsert if all
              of the update fields are duplicates
  
      Returns:
          UpsertResult: A list of results if ``returning`` is not ``False``. created, updated, untouched,
              and deleted results can be obtained by accessing the ``created``, ``updated``, ``untouched``,
              and ``deleted`` properties of the result.
      """
      results = upsert2.upsert(queryset, model_objs, unique_fields,
                               update_fields=update_fields, returning=returning, sync=True,
                               ignore_duplicate_updates=ignore_duplicate_updates)
      post_bulk_operation.send(sender=queryset.model, model=queryset.model)
      return results