Skip to main content
Version: 3.10

EntityIndex 实体索引

1. 结构声明

class EntityIndex extends BaseNode {
name: string = '';
indexName?: string;
propertyNames: Array<string>;
unique: boolean;
description?: string;
}

2. 节点示例

(1) 示例

AST 如下:

{
"concept": "EntityIndex",
"name": "nameIndex",
"propertyNames": [
"name"
],
"unique": true
}

对应的代码如下:

[编译方法未实现]