Hi!

I just migrated to the High Replication datastore.

Some of my entities contain stringified keys of other entities.

For example:

Entity(db.Model):
owner = db.StringProperty() # the str(Key) of the owner.


Owner(db.Model):
name = db.StringProperty()

Now that I've migrated to the high-replication datastore, all the
stringified keys in the Entity Model contain bad keys because the
Owner Entities have new keys now.

2 questions:

1. Would this have been prevented by using db.ReferenceProperty()
instead?
2. How can I resolve this issue? I need to update all entities to
contain the new keys instead.

Thanks!

-- 
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=en.

Reply via email to