It isn't update entiry - it rewrite exiting entity - you are lost previous item with this kind and id.
2012/2/12 Amy Unruh <amyu+gro...@google.com> > Steven, > > If your application specifies an identifier string for an entity (e.g., > see > http://code.google.com/appengine/docs/python/datastore/entities.html#Kinds_and_Identifiers), > then that is how it works. That is, when you do a 'put', if the entity > with that ID does not exist, it is created. If an entity with that > identifier does already exist, then the 'put' updates the entity. > > > On Sun, Feb 12, 2012 at 8:48 AM, steven <jobshif...@gmail.com> wrote: > >> Hi, >> >> Thank you in advance. >> >> Just wondering whether Google App Engine has something equivalent to >> "replace into" query, like mysql does. >> So that, >> It can add a new row, if the row does not exist. >> or, update the row, if the row exist. >> >> Thank you very much, >> Sincerely, >> Steven >> >> -- >> 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. >> >> > -- > 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. > -- Blog: www.rekby.ru -- 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.