In the Python SDK version 1.2.4, Memcache incr() and decr() functions
can set an initial value for a counter if the key does not exist.

But I only find out the initial_value parameter. When I try this
enhancement, the cached value seems never expire.

For the transaction reason, I don't want to use replace() to set its
expiration time, so can Google add expiration time parameter for inrc
()/decr(), or offer a new function to set expiration time?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to