When i use the OR condion in GQL it return error messege tht “BadQueryError: Parse Error: Expected no additional symbols at symbol OR . Why?
db.GqlQuery("Select * from vendor where access='public' OR organisation_id='"+ orgid +"'")
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.
Docs clearly says that GQL doesn’t have an OR operator..
You could do something like this ..Make two queries and combine the results…