Parse Error: Invalid WHERE Identifier at symbol (

我与影子孤独终老i 提交于 2019-12-02 13:40:31

I don't think that's valid GQL:

  • there is no mentioning of using '(' and ')' for compound conditions (which is what I belive the error you see is about), the only valid condition constructs are (from GQL Reference):

    [ WHERE <compound-condition> ]
    
    <compound-condition> := <condition>+AND
    
    <condition> :=
      <property-name> IS NULL
    | <property-name> <forward-comparator> <value>
    | <value> <backward-comparator> <property-name>
    
  • there is no OR operator in GQL, so there is no need for grouping, see In Google DataStore GQL, how can I group the WHERE terms? (also complaining about parentheses)

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