RedisGraph / redisgraph-go

A Golang client for redisgraph
https://redisgraph.io
BSD 3-Clause "New" or "Revised" License
132 stars 38 forks source link

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

Open OfirMos opened 3 years ago

OfirMos commented 3 years ago
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"
AvitalFineRedis commented 3 years ago

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