Open B-Stefan opened 4 years ago
Generally speaking including :
within the parameter name is a bit confusing
as a parameter is defined as a key :
value pair.
Assuming setting the parameter works, how would you refer to it?
RETURN $prefix:purpose
probably won't work,
This is what I'm getting from Neo4j:
RETURN $prefix:purpose
Neo.ClientError.Statement.ParameterMissing
Expected parameter(s): prefix
Yeah, I agree, it is not best-practice but still allowed to address via ``. Example query I wrote 2 years ago:
MATCH (x {`meta:identifier`: 'some'})-[r *1]-(y)
Just want to ask if this issue is still open or do you think a new evaluation would be promising due to a complete rewrite/improvement of the library during the last year?
Sorry @B-Stefan this issue is still open, I'm able to create an attribute with :
in its name but was unable to define a parameter with :
in its name.
Happy new year to everybody. I just revisited an open issue on the prov-db-connector, and I want to ask if this issue is still open or resolved in a release of redisgraph-py?
Hi, I believe the issue is still open, @jeffreylovitz would you mind taking a look ?
Hi @B-Stefan,
This is a parser-level issue, rather than being scoped to redisgraph-py.
I've written a fix, and we should be able to merge it into the master branch within a few days!
Thanks for all the work on this project!
I tried to integrate RedisGraph into an existing project(prov-db-connector) and got an unexpected error:
The following command with params will cause an exception because the param name contains and
:
Example to reproduce
The code above produces the following query and exception
Exception
Expected behavior
The example above should be saved successfully to Redis
Potential solution
The library should escape/encode params and queries.
What do you think about this issue? If you need any help to reproduce or investigate this issue, please let me know!