Hi Jeff, You can't really order on ID - only on key. If entities have different parents, they will sort first by their parent, then by their ID.
-Nick Johnson On Fri, Sep 10, 2010 at 3:25 AM, Jeff Schwartz <[email protected]>wrote: > Hi All, > > I think I know the answer to this but I'd like someone from the app engine > team to provide a definitive answer if possible. When querying on a single > entity type where the result set contains instances of entities that are > children of different parents (thus belonging to different entity groups) > will ordering on their ids though specified be ignored? My instinct tells me > that ordering will be ignored. In other words, is the rule then the > following: > > Ordering is allowed on key ids only if all entities have the same kind > _and_ parent > > In addition, I would also assume that filtering works the same way, having > the same restriction. Correct? > > Thanks in advance for your response. > > -- > -- > Jeff > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > -- Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 -- You received this message because you are subscribed to the Google Groups "Google App Engine" 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?hl=en.
