| 12345678910111213141516171819202122232425262728 |
- create class if not exists /test() with namespace="test"
- ;
- delete from /test/outstandingobj with version
- /**
- onerror(continue,`not exist`,`not find`,`not found`)
- **/
- ;
- create class if not exists /test/outstandingobj(
- causedesc varchar "待处理原因",
- extension varchar "扩展字段信息JSON",
- name varchar "名称",
- status enum {
- } "状态",
- source enum {
- "1":["cmdb", "CMDB"],
- "2":["discovery", "发现"]} "状态",
- region varchar "机构",
- type enum {
- "2":["link", "线路"],
- "1":["device", "设备"]} "对象类型",
-
- index( causedesc,extension,name,source,region,type)
- )with ttl=366 day , autosearch=true , version=false , key=manu, partition=id , alias='outstandingobj'
|