(self, meta=None)
return self.client.delpattern('%s*' % pattern)
Flush all model keys from the database
Flush all model keys from the database
Flush all model keys from the database
def flush(self, meta=None):
        '''Flush all model keys from the database'''
        pattern = self.basekey(meta) if meta else self.namespace
        return self.client.delpattern('%s*' % pattern)
def flush ( self , meta = None ) : pattern = self . basekey ( meta ) if meta else self . namespace return self . client . delpattern ( '%s*' % pattern )