12valid.mql 969 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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*'
  7. /**
  8. count(1)
  9. matchcount(_group, {
  10. "_all": [
  11. "aa",
  12. "dd"
  13. ]
  14. }, 1)
  15. **/
  16. ;
  17. select vvv._group from /test/prepare 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/prepare "order" where order.v_varchar=='*abc*'
  29. /**
  30. count(1)
  31. matchcount(_group, {
  32. "_all": [
  33. "aa",
  34. "dd"
  35. ]
  36. }, 1)
  37. **/
  38. ;
  39. select class from / where id='3991197448023402669'
  40. /**
  41. count(1)
  42. **/
  43. ;
  44. select class from /test/ where id='3991197448023402669'
  45. /**
  46. count(1)
  47. **/
  48. ;
  49. select class from /test/ where id='3991197448023402669' limit ?
  50. /**
  51. params(10)
  52. count(1)
  53. **/
  54. ;