Skip to main content
Version: 3.4

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
}