[google-appengine] Is it possible to change a datastore object key name after it was created?

2010-03-11 Thread Shedokan
In my app I create an object and put it into the datastore with a custom key_name based on other properties of the object for getting it from the datastore faster. what happens if I want to change later on the key name? THanks. -- You received this message because you are subscribed to the Goog

Re: [google-appengine] Is it possible to change a datastore object key name after it was created?

2010-03-11 Thread Eli Jones
You cannot change the key_name for an entity.. At best, you could put a new entity into the datastore using the new key_name and the old entities properties.. and just delete the old entity. On Thu, Mar 11, 2010 at 2:55 PM, Shedokan wrote: > In my app I create an object and put it into the data