| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- create edge type if not exists connect "connect"
- ;
- create class if not exists /test() with namespace="test"
- ;
- delete from /test/cypher with version
- /**
- onerror(continue)
- noerrinfo()
- **/
- ;
- delete from /test/cypher2 with version
- /**
- onerror(continue)
- noerrinfo()
- **/
- ;
- delete from /test/cypher3 with version
- /**
- onerror(continue)
- noerrinfo()
- **/
- ;
- delete from /test/cypher4 with version
- /**
- onerror(continue)
- noerrinfo()
- **/
- ;
- delete from /test/cypher5 with version
- /**
- onerror(continue)
- noerrinfo()
- **/
- ;
- delete from /test/cypher6 with version
- /**
- onerror(continue)
- noerrinfo()
- **/
- ;
- delete from /test/cypher7 with version
- /**
- onerror(continue)
- noerrinfo()
- **/
- ;
- delete from /test/cypher8 with version
- /**
- onerror(continue)
- noerrinfo()
- **/
- ;
- delete from /test/cypher9 with version
- /**
- onerror(continue)
- noerrinfo()
- **/
- ;
- drop class if exists /test/cypher
- ;
- drop class if exists /test/cypher3
- ;
- drop class if exists /test/cypher9
- ;
- drop class if exists /test/cypher8
- ;
- drop class if exists /test/cypher7
- ;
- drop class if exists /test/cypher5
- ;
- drop class if exists /test/cypher6
- ;
- drop class if exists /test/cypher4
- ;
- drop class if exists /test/cypher2
- ;
- /**
- sleep(1s)
- **/
- ;
- create edge type if not exists test.connect
- ;
- create class if not exists /test/cypher (
- name varchar,
- keys(name)
- )with key=manu and nickname='cypher'
- ;
- create class if not exists /test/cypher2 (
- name varchar,
- keys(name)
- )with key=manu and nickname='cypher2'
- ;
- create class if not exists /test/cypher3 (
- name varchar,
- keys(name)
- )with key=manu and nickname='cypher3'
- ;
- create class if not exists /test/cypher4 (
- name varchar,
- keys(name)
- )with key=manu and nickname='cypher4'
- ;
- create class if not exists /test/cypher5 (
- name varchar,
- keys(name)
- )with key=manu and nickname='cypher5'
- ;
- create class if not exists /test/cypher6 (
- name varchar,
- keys(name)
- )with key=manu and nickname='cypher6'
- ;
- create class if not exists /test/cypher7 (
- name varchar,
- keys(name)
- )with key=manu and nickname='cypher7'
- ;
- create class if not exists /test/cypher8 (
- name varchar,
- keys(name)
- )with key=manu and nickname='cypher8'
- ;
- create class if not exists /test/cypher9 (
- name varchar,
- keys(name)
- )with key=manu and nickname='cypher9'
- ;
|