I wonder what is best practice to store relations in GAE with datastore.
If I have User and UserItem. How should I store reference to User inside UserItem?
Should I store:
- hashed key value (eg: ag1taWNlM2hlZGdlaG9ncg8LEglMZXZlbFVzZXIYSAw)
- unhashed key value (eg: User(“1”) )
- any other suggestion?
In java you would use the Key property to store a reference to another datastore object.