You don't actually need to use GQL, just use: db.get('mykeystring')
On Feb 26, 9:21 pm, Audrey M Roy <audr...@gmail.com> wrote: > How do I write a GQL query that's something like this... > > SELECT * FROM Pet WHERE __key__='mykeystring' > > the above returns the error BadFilterError: invalid filter: __key__ > filter value must be a Key; received mykeystring (a unicode). > > Audrey --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---