google app engine - q = filter('city =', 'Seattle' or 'Osaka') correct or not? -


i want find customers come seattle or osaka. correct?

q = customer.all() q = filter('city =', 'seattle' or 'osaka') 

no. want

q.filter('city in', ['seattle','osaka']) 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

c++ - libcurl curl_easy_setopt "Unknown error" -