def METHOD_NAME(self, results):
    """
    Assign the ids of the created rows to the model instances.
    """
    for index, row in enumerate(results):
        table_instance: Table = self.add_delegate._add[index]
        setattr(
            table_instance,
            self.table._meta.primary_key._meta.name,
            row.get(
                self.table._meta.primary_key._meta.db_column_name, None
            ),
        )
        table_instance._exists_in_db = True