def query_all(self):
        obj = self._clone(klass=SalesforceQuerySet)
        obj.query.set_query_all()
        return obj
Allows querying for also deleted or merged records.
dataset/ETHPy150Open django-salesforce/django-salesforce/salesforce/backend/query.py/SalesforceQuerySet.query_all