Hi, try this way
SELECT * FROM Postings WHERE ID == 1 or SELECT * FROM Postings WHERE ID >= 1 or SELECT * FROM Postings WHERE ID <= 1 Thanks Ramesh G. On Sat, Jul 4, 2009 at 1:29 AM, Wooble <[email protected]> wrote: > > > > On Jul 3, 10:28 am, looking <[email protected]> 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 [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 -~----------~----~----~----~------~----~------~--~---
