22valid.mql 730 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. select * from /test/mprepare
  2. /**
  3. matchcount(v_varchar, "*abc*", v_text, `hello word 2003 123-456-789 中华人民共和国是中国的唯一合法政府,台湾是中国一部分。 Mercury, Venus2,Earch%。Mars$Uranus CeresAndJupiterOrSaturn #Neptune Pluto_Charon"\""`, 1)
  4. **/
  5. ;
  6. select _group from /test/mprepare where v_varchar=='*abc*'
  7. /**
  8. count(1)
  9. matchcount(_group, {
  10. "_all": [
  11. "aa",
  12. "dd"
  13. ]
  14. }, 1)
  15. **/
  16. ;
  17. select vvv._group from /test/mprepare vvv where vvv.v_varchar=='*abc*'
  18. /**
  19. count(1)
  20. matchcount(_group, {
  21. "_all": [
  22. "aa",
  23. "dd"
  24. ]
  25. }, 1)
  26. **/
  27. ;
  28. select order._group from /test/mprepare "order" where order.v_varchar=='*abc*'
  29. /**
  30. count(1)
  31. matchcount(_group, {
  32. "_all": [
  33. "aa",
  34. "dd"
  35. ]
  36. }, 1)
  37. **/
  38. ;