| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- create class if not exists /mtest() with namespace='mtest'
- ;
- delete from /mtest/测试二 with version
- /**
- onerror(continue)
- noerrinfo()
- **/
- ;
- drop class if exists /mtest/测试二/
- ;
- create class if not exists /mtest/测试二 (
-
- 字符串 varchar,
- 文本 text,
- 文字 text,
- 整数 int,
- 大整数 bigint,
- 双浮点 double,
- 自定义类型 double,
- 浮点 float,
- 布尔 bool,
- 数据块 blob,
-
- indexes(字符串, 文本, 文字, 整数, 大整数, 自定义类型, 浮点, 双浮点, 布尔),
- keys(字符串, 文本)
- ) with core=local;
- create class if not exists /mtest/测试二/子类 () with autosearch=true , version=false , key=manu, nickname = 'mtest测试二子类' ;
- --must have nickname for private field
- alter class /mtest/测试二 with nickname='mtest测试二' ;
- --taget define in tools, its string
- alter class /mtest/测试二 add column 目标 int ;
|