Knowledge Base

Articles tagged as relationships

Comparing relationship properties within a path

You want to compare relationship-properties of a path, either by a global value or parameter, or with each other within a path. Basic model: Make sure to have an constraint…

Read more

Why did I get the “Kernel API returned non-existent relationship type: -1” exception?

In rare situations, the Neo4j Bolt driver throws an IllegalStateException. The top part of the stack appears as: Under the covers, this is what happens. The getRelationshipTypeById(int type) method is…

Read more