22valid.mql 753 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. output()
  9. count(1)
  10. matchcount(_group, {
  11. "_all": [
  12. "aa",
  13. "dd"
  14. ]
  15. }, 1)
  16. **/
  17. ;
  18. select vvv._group from /test/mprepare vvv where vvv.v_varchar=='*abc*'
  19. /**
  20. count(1)
  21. matchcount("vvv._group", {
  22. "_all": [
  23. "aa",
  24. "dd"
  25. ]
  26. }, 1)
  27. **/
  28. ;
  29. select order._group from /test/mprepare "order" where order.v_varchar=='*abc*'
  30. /**
  31. count(1)
  32. matchcount("order._group", {
  33. "_all": [
  34. "aa",
  35. "dd"
  36. ]
  37. }, 1)
  38. **/
  39. ;