106.timeout失效.mql 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. SELECT count(1) from /dsq_stock/a_stock_price WITH TIMEOUT = 12m
  2. /**
  3. output()
  4. **/;
  5. MATCH (industry_lv1:/dsq_stock/stock_industry_category_lv1)
  6. <-[:public_company_belongs_to_industry_stock_industry_category_lv1*1..1]-
  7. (company:/dsq_stock/public_company)
  8. -[:public_company_to_a_stock_price]->
  9. (price:/dsq_stock/a_stock_price)
  10. with timeout=5m
  11. /**
  12. output()
  13. **/;
  14. MATCH (industry_lv1:/dsq_stock/stock_industry_category_lv1)
  15. <-[:public_company_belongs_to_industry_stock_industry_category_lv1*1..1]-
  16. (company:/dsq_stock/public_company)
  17. -[:public_company_to_a_stock_price]->
  18. (price:/dsq_stock/a_stock_price)
  19. RETURN industry_lv1.name as "lv1_name", company.id AS "company", price.open_price as "open_price", price.close_price as "close_price"
  20. with timeout=5m
  21. /**
  22. output()
  23. **/;
  24. match
  25. (company:/dsq_stock/public_company where id='public_company:920819')
  26. -[:public_company_to_a_stock_price*1..1]->
  27. (price:/dsq_stock/a_stock_price)
  28. with timeout=5m
  29. /**
  30. output()
  31. **/;
  32. MATCH (industry_lv1:/dsq_stock/stock_industry_category_lv1)
  33. <-[:public_company_belongs_to_industry_stock_industry_category_lv1*1..1]-
  34. (company:/dsq_stock/public_company)
  35. -[:public_company_to_a_stock_price]->
  36. (price:/dsq_stock/a_stock_price)
  37. RETURN industry_lv1.name as "lv1_name", company.id AS "company", price.open_price as "open_price", price.close_price as "close_price"
  38. INTO /zhonghong77765433 with timeout=5m
  39. /**
  40. output()
  41. **/;