[Chicago] appengine session locking

Kumar McMillan kumar.mcmillan at gmail.com
Mon May 12 19:34:49 CEST 2008


On Mon, May 12, 2008 at 12:17 PM, Massimo Di Pierro
<mdipierro at cs.depaul.edu> wrote:
> Does anybody have experience with session locking on appengine?
>  The appengine does not have an update....where command so how do people
> lock sessions stored in bigtables?

a more specific answer: you can update appengine objects by
constructing them with a key_name.  More info:
http://code.google.com/appengine/docs/datastore/keysandentitygroups.html

that is, if you say s = Story(key_name="xzy123") and an object with
that key_name already exists, then you will be updating it.


More information about the Chicago mailing list