View source on GitHub |
Looks up a single key in memcache.
google.appengine.api.memcache.get(
key, namespace=None, for_cas=False
)
If you have multiple items to load, though, it's much more efficient
to use get_multi()
instead, which loads them in one bulk operation,
reducing the networking latency that'd otherwise be required to do
many serialized get()
operations.
Returns | |
---|---|
The value of the key, if found in memcache, else None .
|