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 <[email protected]> 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
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> 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 [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-java?hl=en.

Reply via email to