High Nick. Thank you and that's what I thought but lets say all the entities
have the same parent or all of them have no parents then aren't you able to
order descending on their ids to reverse the sort order? Also, if you can,
then can you also use a filter on a property other than id as well?

Jeff

On Fri, Sep 10, 2010 at 11:43 AM, Nick Johnson (Google) <
nick.john...@google.com> wrote:

> 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 <jefftschwa...@gmail.com>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 google-appeng...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com<google-appengine%2bunsubscr...@googlegroups.com>
>> .
>> 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 google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com<google-appengine%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>



-- 
--
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 google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to