如何使用GQL选择看起来像此键的组(' Group',' 1779_1528')

时间:2015-09-15 04:29:56

标签: mysql google-app-engine google-cloud-datastore gql gqlquery

如何使用GQL选择看起来像此键的组(' Group',' 1779_1528')。

我试过了:

Select * from User where group = '1779_1528'   
Select * from User where group = Key('Group', '5335_5556')
Select * from User where group HAS ANCESTOR KEY('Group', '5335_5556')

得到了这个错误:

'Select * from User where group = '1779_1528' LIMIT 50': Encountered "group" at line 1, column 26. Was expecting one of: <UNQUOTED_NAME> ... <QUOTED_NAME> ... <NAME_BINDING_SITE> ... <POSITION_BINDING_SITE> ... <SINGLE_QUOTE_STRING> ... <DOUBLE_QUOTE_STRING> ... <INTEGER> ... <DOUBLE> ... "true" ... "false" ... "null" ...

enter image description here enter image description here

1 个答案:

答案 0 :(得分:0)

另一种方法是使用文件管理器显示您想要的数据

enter image description here