Re: [google-appengine] "replace into" query

2012-02-12 Thread Amy Unruh
On Mon, Feb 13, 2012 at 4:55 AM, Timofey Koolin wrote: > It isn't update entiry - it rewrite exiting entity - you are lost previous > item with this kind and id. By 'update', I meant modification of an existing entity. So I think we're talking about the same thing? [On a related note, the datas

Re: [google-appengine] "replace into" query

2012-02-12 Thread Timofey Koolin
It isn't update entiry - it rewrite exiting entity - you are lost previous item with this kind and id. 2012/2/12 Amy Unruh > 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_

Re: [google-appengine] "replace into" query

2012-02-11 Thread Amy Unruh
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

[google-appengine] "replace into" query

2012-02-11 Thread steven
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 mess