我如何将 GQL 用于 select 看起来像这样的组 Key('Group', '1779_1528')
How do I use GQL to select a group that look like this Key('Group', '1779_1528')
如何使用 GQL 来 select 看起来像这样的组 Key('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" ...
另一种选择是使用 filer 来显示您想要的数据
如何使用 GQL 来 select 看起来像这样的组 Key('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" ...
另一种选择是使用 filer 来显示您想要的数据