1022.create.mql 486 B

123456789101112131415161718192021222324252627
  1. create class if not exists /testzx() with namespace="testzx"
  2. ;
  3. create edge type if not exists testzx.connect
  4. ;
  5. create class if not exists /testzx/zxcvbnm (
  6. v_varchar STRSTR,
  7. v_text text,
  8. v_string text,
  9. v_int int,
  10. v_bigint bigint,
  11. v_smalldouble double,
  12. v_double DOUDOU,
  13. v_float float,
  14. v_bool bool,
  15. v_blob blob,
  16. indexes(v_varchar, v_text, v_string, v_int, v_bigint, v_double, v_float, v_smalldouble, v_bool),
  17. keys(v_varchar, v_text)
  18. )
  19. ;