Hi

You probably need to give us a lot more info about what you are trying
to do (how you get the records etc..) as the naive response is

myobj = db.get(some_key)
myobj.some_parameter = some_new_value
myobj.put()

No loop there ;-)

But I assume you have some more requirements than this. For instance
wrapping this in a function or as a method of some class.

Rgds

T

On Nov 14, 4:47 am, deostroll <[email protected]> wrote:
> What is the recommended way to fetch a single record, and update its
> value to something? I am trying to avoid using a python for loop
> construct...
>
> --deostroll

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=.


Reply via email to