I havent been able to figure out how to do something equivalent to this SQL statement in Objectify
SELECT * FROM myTable WHERE myTable.attribute = ‘X’ OR myTable.attribute = ‘Y’.
Any help would be appreciated.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t use ‘OR’ criteria in App Engine. Each query is executed as a single index scan, and that’s not possible with disjunctions. Instead, you need to execute each query separately, and intersect the results.
I’m not sure how this relates to text search, however.