12valid.mql 1018 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. select * from /test/prepare
  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/prepare where v_varchar=='*abc*' refresh
  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/prepare vvv where vvv.v_varchar=='*abc*'
  19. /**
  20. output()
  21. count(1)
  22. matchcount("vvv._group", {
  23. "_all": [
  24. "aa",
  25. "dd"
  26. ]
  27. }, 1)
  28. **/
  29. ;
  30. select order._group from /test/prepare "order" where order.v_varchar=='*abc*'
  31. /**
  32. output()
  33. count(1)
  34. matchcount("order._group", {
  35. "_all": [
  36. "aa",
  37. "dd"
  38. ]
  39. }, 1)
  40. **/
  41. ;
  42. select class from / where id='3991197448023402669'
  43. /**
  44. count(1)
  45. **/
  46. ;
  47. select class from /test/ where id='3991197448023402669'
  48. /**
  49. count(1)
  50. **/
  51. ;
  52. select class from /test/ where id='3991197448023402669' limit ?
  53. /**
  54. params(10)
  55. count(1)
  56. **/
  57. ;