My 2 cents: if all your users are of type Person and it's a root entity, you can also save some space by storing Key ids instead of Key instances (you save the redundant type name etc).
On Jul 19, 5:53 am, "Ikai L (Google)" <ika...@google.com> wrote: > The best practice is probably to create list properties with Keys > representing friend IDs. This is a good video to watch: > > http://www.youtube.com/watch?v=AgaL6NGpkB8 > > > > > > On Fri, Jul 16, 2010 at 8:03 AM, dmetri333 <dmetri...@gmail.com> wrote: > > Im relatively new too GAE and the Datastore, and i had a question on > > the best way to setup some entities. > > > I have created a entity called 'Person' and this person has a list of > > friends in the system that are also of type 'Person'. In SQL i would > > have created a simple linker/relationship table with 2 fields > > (person_id, friend_id), both referring to the same id from the > > 'Person' table. > > > I was wondering what the best practice for doing this with GAE and > > bigtable. > > > demetri > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine for Java" group. > > To post to this group, send email to > > google-appengine-j...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2B > > unsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine-java?hl=en. > > -- > Ikai Lan > Developer Programs Engineer, Google App Engine > Blog:http://googleappengine.blogspot.com > Twitter:http://twitter.com/app_engine > Reddit:http://www.reddit.com/r/appengine -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.