Hello (sorry for my bad english) i cant update the datestore, i am follow
this example
http://code.google.com/appengine/docs/python/datastore/overview.html , but i
cant :S

# code ----
    query = db.GqlQuery("SELECT * FROM Stat")

    if query.count() == 0:
      stat = Stat(
        Linux = 1
      )
      stat.put()
    else:
      for result in query:
        result.Linux = 4
      db.put(query)
# code ----
-- 
mi code never update the 1 by 4 :S
Saludos Cordiales

Eduardo Águila
Visitame http://eduardoaguila.com

--~--~---------~--~----~------------~-------~--~----~
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