redisgraph-go icon indicating copy to clipboard operation
redisgraph-go copied to clipboard

Redisgraph expects the query params to be in a separate argument than the query

Open OfirMos opened this issue 2 years ago • 1 comments

GRAPH.QUERY <graph_name> "MATCH (p:Person {name: $name_param, birth_year: $birth_year_param}) RETURN p" query_params "CYPHER name_param = 'Niccolò Machiavelli' birth_year_param = 1469"

OfirMos avatar Aug 05 '21 11:08 OfirMos

https://github.com/RedisGraph/redisgraph-go/blob/f90645110e16a1ecfb4e95712f54c75cbc4ee119/graph.go#L122 Is it not what you mean?

AvitalFineRedis avatar Aug 09 '21 09:08 AvitalFineRedis