RedisGraph / redisgraph-py

RedisGraph python client
https://redisgraph.io
BSD 3-Clause "New" or "Revised" License
189 stars 49 forks source link

Tuples don't work in queries #155

Closed snus-kin closed 2 years ago

snus-kin commented 2 years ago

Example:

db = redis.Redis(host, port)
graph = Graph('nodes', db)
node = Node(label='node', properties={"coordinates": (-1, 53)})
graph.add_node(redis_node)
graph.commit()

Returns:

redis.exceptions.ResponseError: errMsg: Invalid input ',': expected '.', AND, OR, XOR, NOT, '=~', '=', '<>', '+', '-', '*', '/', '%', '^', IN, CONTAINS, STARTS WITH, ENDS WITH, '<=', '>=', '<', '>', IS NULL, IS NOT NULL, '[', '{', a label or ')' line: 1, column: 40, offset: 39 errCtx: CREATE (fhabllvxne:node{coordinates:(-1, 53)}) errCtxOffset: 39