RedisGraph expects to receive the entire query as one string. Single and double quote characters are interchangeable, and quote characters within it may be backslash-escaped.
The only other thing to stay aware of is that you can’t nest quote characters of the same type within a string without escaping it, as in "Hello \" world".
The following are all equivalent and valid:
"MATCH (r:Rider)-[:rides]->(t:Team) WHERE t.name = 'Yamaha' RETURN r.name, t.name"
'MATCH (r:Rider)-[:rides]->(t:Team) WHERE t.name = "Yamaha" RETURN r.name, t.name'
"MATCH (r:Rider)-[:rides]->(t:Team) WHERE t.name = \"Yamaha\" RETURN r.name, t.name"
Hi, @jeffreylovitz .
Thank you for your help! You are right, ' or " doesn’t matter to RedisGraph. I just can’t make RedisGraph understand me when I use Hiredis, like this: