On Jul 3, 10:28 am, looking <lookin...@gmail.com> wrote:
> SELECT * FROM Postings WHERE ID = 1
> there is no result.
>
> SELECT * FROM Postings WHERE ID > 1
> there is no result.
>
> SELECT * FROM Postings WHERE ID < 1
> there is no result.
>
> what is wrong?

ID isn't a property of your entity, so you can't query on it. If you
know your entities are all root entities, you could generate a key for
the give ID using Key.from_path() and query based on that.
--~--~---------~--~----~------------~-------~--~----~
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-appengine@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