3_create_table.mql 459 B

12345678910111213141516171819
  1. typedef if not exists STRSTR = varchar ;
  2. typedef if not exists DOUDOU = double ;
  3. create class if not exists /matrix/test();
  4. create class if not exists /matrix/test/basic (
  5. v_varchar STRSTR,
  6. v_text text,
  7. v_int int,
  8. v_bigint bigint,
  9. v_smalldouble double,
  10. v_double DOUDOU,
  11. v_float float,
  12. v_bool bool,
  13. indexes(v_varchar, v_text, v_int, v_bigint, v_double, v_float, v_smalldouble, v_bool),
  14. keys(v_varchar, v_text)
  15. );