Skip to content

Commit

Permalink
Merge pull request #29 from ChristianTremblay/master
Browse files Browse the repository at this point in the history
Fix issue #28
  • Loading branch information
alfredorubin96 authored Apr 5, 2024
2 parents e1f42c6 + 1b9ef06 commit 31a171e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdflib_neo4j/query_composers/NodeQueryComposer.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


def prop_query_append(prop):
return f"""n.`{prop}` = CASE WHEN COALESCE(param["{prop}"], NULL) IS NULL THEN n.{prop} ELSE REDUCE(i=COALESCE(n.{prop},[]), val IN param["{prop}"] | CASE WHEN val IN i THEN i ELSE i+val END) END """
return f"""n.`{prop}` = CASE WHEN COALESCE(param["{prop}"], NULL) IS NULL THEN n.`{prop}` ELSE REDUCE(i=COALESCE(n.`{prop}`,[]), val IN param["{prop}"] | CASE WHEN val IN i THEN i ELSE i+val END) END """



Expand Down

0 comments on commit 31a171e

Please sign in to comment.