pythongoogle-app-enginememcachedpython-memcached

how do I return all memcached values in Google App Engine?


I want to use all the data in my python app engine memcache. I do not know the keys in advance.

How do I go about getting all data?


Solution

  • The only read functions available on memcache are:

    get(key, namespace=None)
    
    get_multi(keys, key_prefix='', namespace=None)
    

    As you can see, to get data from memcache you must provide one or more keys.