You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But the way the class IN(Statement) is defined means that this will come out unnecessarily wrapped in square braces and the cypher engine will fall over when it gets a list of lists.
I think this could be fixed by adding some logic to the class definition of IN and am happy to do the work over the weekend to raise a PR but wondered if you had a preference for how to fix given you know + understand the codebase far better than me? I would do something like checking if the partial statement contains a split() or collect() but I feel like there's a lot of scope for missing cases there and seems not very elegant.
Also possible I've misunderstood how to make a partial properly and there's a way to do what I want without changing the code.
The text was updated successfully, but these errors were encountered:
I want to write something like:
But the way the
class IN(Statement)
is defined means that this will come out unnecessarily wrapped in square braces and the cypher engine will fall over when it gets a list of lists.I think this could be fixed by adding some logic to the class definition of
IN
and am happy to do the work over the weekend to raise a PR but wondered if you had a preference for how to fix given you know + understand the codebase far better than me? I would do something like checking if the partial statement contains asplit()
orcollect()
but I feel like there's a lot of scope for missing cases there and seems not very elegant.Also possible I've misunderstood how to make a partial properly and there's a way to do what I want without changing the code.
The text was updated successfully, but these errors were encountered: