如何在Google Datastore Viewer中查询表或列名称中包含斜杠的位置?

Jos*_*Fox 3 google-app-engine google-cloud-datastore google-cloud-platform

在Google Datastore中,我有一个表(Kind),其名称中包含斜杠.

在旧的Datastore Viewer GUI中,我可以运行

select * from "foo/bar"
Run Code Online (Sandbox Code Playgroud)

双引号.因此,foo/bar 一个有效的表名.

但是在新的GUI,Datastore Console中,我无法做到这一点.

我明白了

GQL query error: Encountered ""foo/bar"" at line 1, column 15. 
Was expecting one of: <UNQUOTED_NAME>, <QUOTED_NAME>
Run Code Online (Sandbox Code Playgroud)

见截图 错误信息

我该如何查询此表?(反斜杠转义也不起作用.)

(我的问题也是关于列,出现同样的问题.)

当旧的GUI关闭时,我几乎完全无法访问我的数据.

gip*_*psy 6

你可以使用反引号.

select * from `foo/bar`
Run Code Online (Sandbox Code Playgroud)

请注意它是'不'