> You could use the id instead of the key, key().id, then you can get it
> back with just DocModel.get_by_id(id)
>
> You should be able to go straight to the doc without the parent
> account id /doc/12345
>
> I'm not sure you can guarantee id uniqueness across your whole data
> store, but it should be unique for any given model?

Thanks for your reply. If ID is unique across a particular kind that's
good enough for me... I don't need a globally unique ID across all
entity kinds, just across a specific entity kind. I'm still curious if
anyone knows for sure if these IDs are unique across the entire store,
or just unique across a given entity group. Very possibly I'm just
missing it, but I can't seem to find this in the documentation. That
would make me assume that they are globally unique, but then it is
unclear to me what Key() has the parent entity group encoded in it for
entities that are part of a given group.

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