Guys,

Maybe I can't find it in the GoogleAppEngine:Datastore documentation,
but I was wondering how I can update an object in the GAE datastore?

For instance:

I create an object from my Country component with CreateObject, give
all properties a value, and use 'googleKey = googleWrite(object)' to
store it in de datastore.

Next request, I submit new property values + googleKey. What should I
do:

1) object = GoogleRead( googleKey), update values of object with form
values, and than googleWrite(object) ?

OR

2) object = CreateObject().init(form), and than something like
googleWrite(object,"form.googleKey") ?

In other words: must I first do a read from the datastore to update an
object in there? Isn't that a performance issue?

Rainer.

--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official site @ http://www.openbluedragon.org/

!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to