ok, let see this table structure in Datastore:

Structure Table
StructureNo StructureName
1           Structure1
2           Structure2


Line Table
LineNo LineName StructureNo
1      Line1    1
2      Line2    1
3      Line3    2

Let say we want to show all the Lines with their structures as the 
following:

LineNo LineName StructureNo StructureName
1      Line1    1           Structurre1
2      Line2    1           Structurre1
3      Line3    2           Structurre2

Google said that we can't do the Join, then what is the professional way to 
get data?

So, we first

filter all lines in Line Table
//put StructureNo into a structureNoList<Integer>
//then filter all structures in Structure Table that have structureNo in the  
structureNoList<Integer>
//then assemble line and structure data via Java list

*Is this a right way to get data that is joined via many different tables 
in Datastore?*

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/d192a741-640b-4206-97c0-839bebf1561b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to