β06-16-2022 03:23 PM
The reason for running this query is to retrieve all the records of the Crime nodes connected to junctions. But, upon execution of the query - no output was obtained : which forces me to conclude that for that junction id, there are no crime nodes that are connected. I would like to perform a an action based on some properties exposed by the crime node for many junction ids which I would have to put in a loop to run dynamically. However, if a record does not return anything, not even a [] or a 'null' value, how can I perform further actions?
Any leads to this would be of great help! Thank you very much!
β06-16-2022 04:09 PM
You can use 'optional match', which will return null as values when no match is found, instead of returning no results.