Nyambaa
Nyambaa

Reputation: 41767

is entry.key.id unique across all entries of a model?

I have a model. When I list id of all entries of the model. Some id of them are same. When I create the entries, didn't defined id for them it's assigned automatically. Maybe some of them have a different parents.

So is entry.key.id unique for across all entries of a model? or it's defend on parent of them?

Upvotes: 0

Views: 237

Answers (2)

Daniel Roseman
Daniel Roseman

Reputation: 599490

No, it depends on the parent. The path - that is, parent kind, parent ID, child kind, child ID - is unique, but child ID is reused (although not deterministically) across different entity groups.

Upvotes: 2

Related Questions