So you already knew the answer to (2). I guess maybe I shouldn't respond in order. :-)
I just reread your previous post and realized that when you use GoogleQuery() to get a list of User objects, these object have their keys embedded in them already just as if you had retrieved them by specifying the key. Therefore, you can simple do GoogleWrite(User) without specifying the kind/keyName to update the object in the datastore. Vince On Mon, Nov 16, 2009 at 4:27 AM, Rainer <[email protected]> wrote: > > Sorry for my mistake... > In my option 2) I know, that I can update an object with GoogleWrite > (kind,keyName), so that's not my question there. > My question in option 2) is: > How do I get the kind and Keyname when I do a listing? > - aUsers = GoogleQuery('select from User'); > - loop over aUsers > - have an User object, can I do than a User.getKind() and > User.getKeyName()? > > Rainer. > > -- Open BlueDragon Public Mailing List http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon mailing list - http://groups.google.com/group/openbd?hl=en !! save a network - please trim replies before posting !!
