I'm looking to satisfy a particular pattern with a query and then augment it with another query starting at one of the nodes from the first query. I believe I can do that with a query like this:
match (:p)-[:relationship]-(:x) optional match (:p)-[:relationship2]-(:x2)
Now suppose I put a limit at the end (e.g. Limit 200). Will the rows returned exhaust all of the optional matches that are satisfied before moving onto a new primary query with a new node p? Or is the query liable to arbitrarily return only a subset of the optional matches?