libneo4j-client
libneo4j-client copied to clipboard
relationship_start_node_identity() always returns an empty value struct
Hi,
I am running a query like: Match p=()-[:includes]-() return p limit 1000
I am trying to identify the start and end node identity of a path relationship by calling
neo4j_value_t relsValue = neo4j_path_get_relationship(value, i, &bNaturallyTraversedForward);
if (neo4j_instanceof(relsValue, NEO4J_RELATIONSHIP) == false)
{
...
neo4j_value_t vId = neo4j_relationship_start_node_identity(relsvalue);
--> The return identity is always 0
What's the reason?
Thanks for support!
Hi @JensWalther,
If you can create a reproducible test that I can run to verify this, I'd be happy to investigate further.
Cheers, Chris