(self, queryelem, timeout=0, **kwargs)
Initialize the query for the backend database.
Initialize the query for the backend database.
Initialize the query for the backend database .
def __init__(self, queryelem, timeout=0, **kwargs):
        '''Initialize the query for the backend database.'''
        self.queryelem = queryelem
        self.expire = max(timeout, 10)
        self.timeout = timeout
        self.__count = None
        self.__slice_cache = {}
        # build the queryset without performing any database communication
        self._build(**kwargs)
def __init__ ( self , queryelem , timeout = 0 , * * kwargs ) : self . queryelem = queryelem self . expire = max ( timeout , 10 ) self . timeout = timeout self . __count = None self . __slice_cache = { } # build the queryset without performing any database communication self . _build ( * * kwargs )