libneo4j-client icon indicating copy to clipboard operation
libneo4j-client copied to clipboard

relationship_start_node_identity() always returns an empty value struct

Open JensWalther opened this issue 6 years ago • 1 comments

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!

JensWalther avatar Nov 08 '19 17:11 JensWalther

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

cleishm avatar Nov 08 '19 18:11 cleishm