On Mar 13, 12:16 pm, adelevie <[email protected]> wrote:
> routes = db.GqlQuery("SELECT * FROM Route WHERE code = 'BL' OR code =
> 'WL'")
>
> Apperently Gql doesn't like that OR.
try SELECT * FROM Route WHERE code IN ('BL', 'WL').
http://code.google.com/appengine/docs/python/datastore/gqlreference.html
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---