In Google DataStore GQL, how can I group the WHERE terms?

情到浓时终转凉″ 提交于 2019-12-02 08:38:36

I believe the problem you're facing comes from the OR operator - GQL doesn't have one, so the conditions you have in the paranthesis are syntactically incorrect.

From the WHERE row in the Clauses table (emphasis mine):

Limits the result set to those entities that meet one or more conditions. Each condition compares a property of the entity with a value using a comparison operator. If multiple conditions are combined with the AND keyword, then an entity must meet all of the conditions to be returned by the query. GQL does not have an OR operator.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!