Hi

You should be displaying the keys with repr(key) so you actually can
see the key structure is.

T

On May 13, 7:23 am, Alex Kirs <[email protected]> wrote:
> The code Entity.gql("WHERE __key__ > :1 ORDER BY __key__",
> db.Key(entity.last_key)).fetch(1000)
> returns WRONG order (notice how after GP goes GI):
> agdiYWR3aWtpcgsLEgRDbGlwGPoSDA
> agdiYWR3aWtpcgsLEgRDbGlwGPsSDA
> agdiYWR3aWtpcgsLEgRDbGlwGPwSDA
> agdiYWR3aWtpcgsLEgRDbGlwGP0SDA
> agdiYWR3aWtpcgsLEgRDbGlwGP4SDA
> agdiYWR3aWtpcgsLEgRDbGlwGP8SDA
> agdiYWR3aWtpcgsLEgRDbGlwGIATDA
> agdiYWR3aWtpcgsLEgRDbGlwGIETDA
> agdiYWR3aWtpcgsLEgRDbGlwGIITDA
> agdiYWR3aWtpcgsLEgRDbGlwGIMTDA
> agdiYWR3aWtpcgsLEgRDbGlwGIQTDA
> agdiYWR3aWtpcgsLEgRDbGlwGIUTDA
> agdiYWR3aWtpcgsLEgRDbGlwGIYTDA
> agdiYWR3aWtpcgsLEgRDbGlwGIcTDA
>
> What can be the problem?
>
> --
> 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 
> athttp://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