Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

relationship_start_node_identity() always returns an empty value struct #48

Open
JensWalther opened this issue Nov 8, 2019 · 1 comment

Comments

@JensWalther
Copy link

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!

@cleishm
Copy link
Owner

cleishm commented Nov 8, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants