RedisGraph/redisgraph-py

support dict as a parameter value

swilly22 opened this issue · 2 comments

params = {'props': {'v2': 10}}
result = graph.query("MATCH (n) SET n = $props RETURN n", params)

Need to remove ' from dict keys within build_params_header as Cypher doesn't expects dict keys to be wrapped in quotation marks.

@swilly22 Can you please write how the params in the example here look in the query?

CYPHER props={v2:10} ?