You can run queries on keys:
http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html#Queries_on_Keys
The first part of child key (ContactInfo.class) contains parent
(Employee) key.
Employee e;
query = pm.newQuery(ContactInfo.class);
query.setFilter(key ==
query.setFilter(key keyParam and key keyParam1);
--~--~-~--~~~---~--~~
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-java@googlegroups.com
To
Owned relationships uses entity groups behind-the-scenes:
http://code.google.com/appengine/docs/python/datastore/keysandentitygroups.html#Entity_Groups_Ancestors_and_Paths
An entity group is basically a hierarchy of entities, with one entity as the
root and all other entities below this root.