我写了一个语句无返回结果:
find().nodes({@ in ["Country", "Place"]}) return nodes limit 10
改成下面这种写法就能正确返回:
find().nodes({@ == "Country" || @ == "Place"}) return nodes limit 10
申请证书
证书详情
| ID | |
| 产品 | |
| 状态 | |
| 核数 | |
| Shard 服务最大数量 | |
| Shard 服务最大总核数 | |
| HDC 服务最大数量 | |
| HDC 服务最大总核数 | |
| 申请天数 | |
| 审批日期 | |
| 过期日期 | |
| MAC地址 | |
| 申请理由 | |
| 审核信息 |
用户邮箱:
当前未申请证书.
| Certificate | Issued at | Valid until | Serial No. | File |
|---|
| Serial No. | Valid until | File |
|---|
Not having one? Apply now! >>>
| ProductName | CreateTime | ID | Price | File |
|---|
| ProductName | CreateTime | ID | Price | File |
|---|
No Invoice
我写了一个语句无返回结果:
find().nodes({@ in ["Country", "Place"]}) return nodes limit 10
改成下面这种写法就能正确返回:
find().nodes({@ == "Country" || @ == "Place"}) return nodes limit 10
1 个回答
第一个语句的写法应该是能被支持的,我们会尽快实现。
在过滤器中,单独使用 @ 表示当前元数据的schema名称。在别名引用时,<alias>.@ 表示别名所代表的元数据的schema名称。这两种写法都是 ATTR 类型的字符串,都支持配合各种操作符进行计算。