If no order is specified it will be ordered according to Key.
So yes, the results will be always the same for the same query, if no
objects are created or deleted.

2010/1/14 Erem <[email protected]>:
> Hey all,
>
> Let's say the results of a datastore query are not ordered by any
> particular variable. Can I nonetheless rely upon the results being in
> the same order when I run the query again in the future?
>
> Rephrased:
> I run a query Q without any ordering clause. It produces and will
> always produce a set of result entities R.
>
> Although R has no particular order, am I guaranteed Q will always
> produce R in the same order it did the first time?
>
> Thanks!
>
> Erem
>
> --
> 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.
>
>
>
>
-- 
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.


Reply via email to