(self)
return memclient.mclient.delete_multi(keys)
删除缓存中的对象
删除缓存中的对象
删除缓存中的对象
def mdelete(self):
        """
        删除缓存中的对象
        """
        nowdict = dict(self.__dict__)
        keys = [self.produceKey(item_key) for item_key,item_value in\
                            nowdict.items() if isinstance(item_value, MemFields)]
        return memclient.mclient.delete_multi(keys)
def mdelete ( self ) : nowdict = dict ( self . __dict__ ) keys = [ self . produceKey ( item_key ) for item_key , item_value in nowdict . items ( ) if isinstance ( item_value , MemFields ) ] return memclient . mclient . delete_multi ( keys )