42condition.mql 700 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. match (a:"cypher1.notexist1")-[:connect]->(b:"cypher2:e2")
  2. return a.class,a.id, b.class,b.id
  3. /**
  4. output()
  5. count(0)
  6. **/
  7. ;
  8. match (a:/test/)-[:connect]->(b:"cypher2:e2")
  9. return a.class,a.id, b.class,b.id
  10. /**
  11. output()
  12. count(3)
  13. **/
  14. ;
  15. match (a:/test/)-[:connect]->(b:"cypher2:e2")
  16. return a.class,a.id, b.class,b.id
  17. where a.id='cypher4:e4' or a.id in ('cypher3:e3')
  18. /**
  19. output()
  20. count(2)
  21. **/
  22. ;
  23. match (a:/test/)-[:connect]->(b:"cypher2:e2")
  24. return a.class,a.id, b.class,b.id
  25. where a.id in ('cypher3:e3','cypher4:e4')
  26. /**
  27. output()
  28. count(2)
  29. **/
  30. ;
  31. match (a:/test/)-[:connect]->(b:"cypher2:e2")
  32. return a.class,a.id, b.class,b.id
  33. where a.id in ['cypher3:e3','cypher4:e4']
  34. /**
  35. output()
  36. count(2)
  37. **/
  38. ;