Skip to main content
Version: 3.5

QueryFieldExpression 查询属性

1. 结构声明

class QueryFieldExpression extends LogicItem {
isDotStar: boolean = false;
asName: string;
entityAsName: string;
propertyName: string;
}

2. 节点示例

(1) 示例

AST 如下:

{
"concept": "QueryFieldExpression",
"isDotStar": true,
"entityAsName": "OrderProduct",
"propertyName": "",
"asName": ""
}

(2) 示例

AST 如下:

{
"concept": "QueryFieldExpression",
"isDotStar": false,
"entityAsName": "OrderProduct",
"propertyName": "amount",
"asName": ""
}