25update.mql 591 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. update /test/alert_status set test='aaa'
  2. /**
  3. output()
  4. **/
  5. ;
  6. select id,test from /test/alert_status
  7. /**
  8. output()
  9. matchcount(id, "10667786883043395674", test, "aaa", 1)
  10. **/
  11. ;
  12. update /test/alert_status set test='xxx' where id="10667786883043395674"
  13. /**
  14. output()
  15. **/
  16. ;
  17. select id,test from /test/alert_status
  18. /**
  19. output()
  20. matchcount(id, "10667786883043395674", test, "xxx", 1)
  21. **/
  22. ;
  23. update /test/alert_status set test='xxx' where id="10667786883043395674"
  24. /**
  25. output()
  26. **/
  27. ;
  28. select id,test from /test/alert_status
  29. /**
  30. output()
  31. matchcount(id, "10667786883043395674", test, "xxx", 1)
  32. **/
  33. ;