13update.mql 269 B

12345678910111213141516171819202122
  1. select wheel from /test/oo/car
  2. /**
  3. output()
  4. matchcount("wheel._ref.len",4,1)
  5. **/
  6. ;
  7. update /test/oo/car set wheel = wheel - ['Wheel:wheel2'] where id='Car:car1'
  8. ;
  9. /**
  10. sleep(1s)
  11. **/
  12. ;
  13. select wheel from /test/oo/car
  14. /**
  15. output()
  16. matchcount("wheel._ref.len",3,1)
  17. **/
  18. ;