I have a model: class Route(db.Model): name = db.StringProperty() code = db.StringProperty() currently_running = db.IntegerProperty()
On my index page, I want to only display several of these routes, and on another page, display all the routes. I can easily do the latter. To display only certain routes, how can I make a query like this: routes = db.GqlQuery("SELECT * FROM Route WHERE code = 'BL' OR code = 'WL'") Apperently Gql doesn't like that OR. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---